Skip to content

Commit

Permalink
Merge pull request #116 from aurelia/fix-webpack-css
Browse files Browse the repository at this point in the history
fix: fix webpack config on css
  • Loading branch information
3cp authored Jan 6, 2025
2 parents c06fe67 + 813e297 commit 4825c8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ const sassLoader = {
// @endif

const cssLoader = {
loader: 'css-loader',
loader: 'css-loader'/* @if css-module */,
options: {
modules: {
// css-loader v7 changed namedExport to follow esModule (true).
// But we need to set it to false in order to have consistent
// behaviour for vite/parcel/webpack skeletons.
namedExport: false
}
}
}/* @endif */
};

const postcssLoader = {
Expand Down

0 comments on commit 4825c8e

Please sign in to comment.