Skip to content

Commit

Permalink
fix: css modules import (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahabhgk authored May 31, 2024
1 parent 42a9df9 commit 9524c13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cases/arco-pro/rspack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ module.exports = {
tsConfigPath: path.join(__dirname, 'tsconfig.json')
},
module: {
parser: {
'css/module': {
namedExports: false,
}
},
rules: [
{
test: /\.(?:png|jpg|jpeg|pjpeg|pjp|gif|bmp|webp|ico|apng|avif|tif|tiff|jfif)$/i,
Expand Down

0 comments on commit 9524c13

Please sign in to comment.