0.0.4 • Published 4 years ago

laravel-mix-tailwind-extract v0.0.4

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

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!

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago