Package Exports
- tailwindcss-wp-faust
- tailwindcss-wp-faust/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tailwindcss-wp-faust) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
🎨 TailwindCSS WP Faust Plugin
This plugin takes the CSS contents of the generated Faust.js global stylesheet and adds it to the TailwindCSS build process.
You will have access to all the classes generated by Faust.js in your TailwindCSS build. As well as the css variables.
🚀 Installation
npm install tailwindcss-wp-faust
📦 Usage
Add the plugin to your tailwind.config.js
file:
// tailwind.config.js
module.exports = {
plugins: [
require('tailwindcss-wp-faust')({
globalStyes: fs.readFileSync('./path/to/faust/global.css', 'utf8'),
}),
],
}
⛭ Options
The globalStyles
option is required. It should be the contents of the generated Faust.js global stylesheet.
🪪 License
MIT
Made by natac13