Skip to content

Commit

Permalink
fix: webpack experimentalUseImportModule
Browse files Browse the repository at this point in the history
  • Loading branch information
deleonio committed Oct 29, 2021
1 parent f526924 commit 5d89bce
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/stack/webpack/src/webpack.config.ts
Expand Up @@ -153,7 +153,12 @@ export function webpackConfig(_env: any, argv: any, loaders: any[] = []): Object
},
],
}),
new MiniCssExtractPlugin(),
new MiniCssExtractPlugin({
// - https://webpack.js.org/plugins/mini-css-extract-plugin/#experimentaluseimportmodule
// - https://github.com/aurelia/webpack-plugin/issues/196
// - https://github.com/webpack-contrib/mini-css-extract-plugin/issues/863
experimentalUseImportModule: false,
}),
],
resolve: {
alias: {},
Expand Down

0 comments on commit 5d89bce

Please sign in to comment.