0.2.3 • Published 1 year ago

tailprops-webpack-plugin v0.2.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

tailprops-webpack-plugin

tailprops-webpack-plugin is the Webpack integration for the Tailprops library.


Current framework support

FrameworkSupported
React
Preact
Svelte🚧

Installation

Install Tailprops and the Webpack plugin as dev dependencies:

npm install -D tailprops tailprops-webpack-plugin

Then, add the plugin to your webpack.config.js:

// webpack.config.js
const { TailpropsWebpackPlugin } = require("tailprops-webpack-plugin");

module.exports = {
  // ...
  plugins: [
    // ...
    new TailpropsWebpackPlugin(), // Add tailprops to your plugins
  ],
};

Lastly, add typings and the Tailwind transform by running:

npx tailprops init react # or preact
0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago