mix-export-tailwind-config
v1.0.1
Published
Export the tailwind config to a JSON file.
Downloads
12
Maintainers
Readme
Export Tailwind Config to JSON
This Laravel Mix plugin generates a JSON file containing your tailwind configuration.
Note: I've stumbled upon literally the same package but as mine added some options, I've decided to publish it anyway. You can find the package here
Installation
npm install --save-dev mix-export-tailwind-config
or
yarn add -D mix-export-tailwind-config
Usage
// webpack.config.js
require('mix-export-tailwind-config');
mix
.exportTailwindConfig(
'./tailwind.config.js',
'./storage/tailwind.config.json'
)