-
由 Paul Gascou-Vaillancourt 创作于
Storybook imports stylesheets from the source files and compiles them with its own Webpack setup. This updates the Webpack config so that PostCSS is included in the build process, which results in `@apply` directives being compiled properly.
由 Paul Gascou-Vaillancourt 创作于Storybook imports stylesheets from the source files and compiles them with its own Webpack setup. This updates the Webpack config so that PostCSS is included in the build process, which results in `@apply` directives being compiled properly.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。
postcss.config.js 178 B
const path = require('node:path');
module.exports = {
plugins: {
tailwindcss: { config: path.join(__dirname, 'config/tailwind.config.js') },
autoprefixer: {},
},
};