laravel-mix-tailwind-extract

0.0.4 • Public • Published

Tailwind -> JSON

Ever wanted to just have your tailwind config in JSON format? Me too.

Simply add this to a project with Laravel Mix:

yarn add laravel-mix-tailwind-extract

and add it to your webpack.mix.js:

const mix = require('laravel-mix');  
			...
            require('laravel-mix-tailwind-extract');

And then finally, tell us where your config file is and where you want the json!

mix.tailwindExtract('tailwind.config.js', 'tailwind.json');

Done!

Package Sidebar

Install

npm i laravel-mix-tailwind-extract

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

2.39 kB

Total Files

3

Last publish

Collaborators

  • thewizardguy