We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b257b commit e3f24cdCopy full SHA for e3f24cd
examples/react-with-sass/package.json
@@ -4,11 +4,10 @@
4
"description": "",
5
"main": "index.js",
6
"private": true,
7
- "build": {
8
- "build": "rspack build ",
+ "scripts": {
+ "build": "rspack build",
9
"dev": "rspack serve"
10
},
11
- "scripts": {},
12
"keywords": [],
13
"author": "",
14
"license": "MIT",
examples/react-with-sass/rspack.config.js
@@ -11,11 +11,10 @@ module.exports = {
module: {
rules: [
{
- test : {
15
- type: "regexp",
16
- matcher: '\\.s[ac]ss$'
17
- },
18
- use: [{ builtinLoader: "builtin:sass-loader" }],
+ test: /\.s[ac]ss$/,
+ use: [
+ { loader: "builtin:sass-loader" }
+ ],
19
type: "css",
20
21
],
packages/rspack/example/react-with-less.ts
0 commit comments