mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-17 22:24:21 +01:00
15 lines
369 B
JavaScript
15 lines
369 B
JavaScript
function tailwindPlugin(context, options) {
|
|
return {
|
|
name: 'tailwind-plugin',
|
|
configurePostCss(postcssOptions) {
|
|
postcssOptions.plugins = [
|
|
require('postcss-import'),
|
|
require('tailwindcss'),
|
|
require('autoprefixer'),
|
|
];
|
|
return postcssOptions;
|
|
},
|
|
};
|
|
}
|
|
|
|
module.exports = tailwindPlugin; |