3.0.0 • Published 3 years ago

preact-cli-tailwind v3.0.0

Weekly downloads
45
License
MIT
Repository
github
Last release
3 years ago

Preact CLI Tailwind CSS Plugin

npm

Adds Tailwind CSS to Preact CLI.

Tailwind is added as a PostCSS Plugin.

Usage

npm i preact-cli-tailwind tailwindcss --save-dev

# OR

yarn add preact-cli-tailwind tailwindcss --dev

In your preact.config.js:

const tailwind = require("preact-cli-tailwind");

module.exports = (config, env, helpers) => {
  config = tailwind(config, env, helpers);
  return config;
};

API

Pass in config, env and helpers as forwarded from config.

Contributing

PRs Welcome.

3.0.0

3 years ago

2.0.1

3 years ago

2.0.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago

0.0.2

4 years ago

0.0.1-0

4 years ago