Skip to content

Commit

Permalink
fix: fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
h-a-n-a committed Sep 26, 2023
1 parent a3af718 commit e454bcd
Showing 1 changed file with 21 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,33 @@ module.exports = {
module: {
rules: [
{
test: /\.s[ac]ss$/i,
oneOf: [
{
test: /\.module\.\w+$/i,
exclude: [/index\.scss$/],
use: [{ loader: "sass-loader" }],
type: "css/module"
test: /\.s[ac]ss$/i,
oneOf: [
{
test: /\.module\.\w+$/i,
exclude: [/index\.scss$/],
use: [{ loader: "sass-loader" }],
type: "css/module"
},
{
exclude: [/index\.scss$/],
use: [{ loader: "sass-loader" }],
type: "css"
}
]
},
{
exclude: [/index\.scss$/],
use: [{ loader: "sass-loader" }],
type: "css"
exclude: [
/\.(js|mjs|cjs|jsx)$/,
/\.(ts|mts|cts|tsx)$/,
/\.html$/,
/\.json$/
],
type: "asset/resource"
}
]
},
{
exclude: [
/\.(js|mjs|cjs|jsx)$/,
/\.(ts|mts|cts|tsx)$/,
/\.html$/,
/\.json$/
],
type: "asset/resource"
}
]
}
Expand Down

0 comments on commit e454bcd

Please sign in to comment.