Skip to content

Commit

Permalink
fix: fix webpack config on css
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Jan 6, 2025
1 parent c06fe67 commit 813e297
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 813e297

Please sign in to comment.