fixed css webpack config

This commit is contained in:
Daniel Ledda
2022-03-13 22:34:58 +01:00
parent 95b514b336
commit 7866ec42f5

View File

@@ -8,7 +8,7 @@ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const webpackConfig = { const webpackConfig = {
mode: "development", mode: "development",
entry: "./src/main.ts", entry: "./src/main.ts",
plugins: [new webpack.ProgressPlugin()], plugins: [new webpack.ProgressPlugin(), new MiniCssExtractPlugin()],
module: { module: {
rules: [ rules: [
{ {