1.0.1 • Published 3 years ago

mix-export-tailwind-config v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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'
    )