bundle the css into the component files

This commit is contained in:
Dexter 2021-12-21 14:08:26 +00:00 committed by Dexter Edwards
parent 116f73b426
commit 838235ab88

View File

@ -70,8 +70,9 @@ const config = {
nodeResolve({ extensions }), nodeResolve({ extensions }),
commonjs(), commonjs(),
postcss({ postcss({
modules: true,
autoModules: true, autoModules: true,
extract: path.resolve("dist/style.css"), // extract: path.resolve("dist/style.css"),
}), }),
babel({ babel({
extensions, extensions,