mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-05-14 19:24:04 +08:00
Added mock css loader
This commit is contained in:
parent
cb008245a8
commit
86e0dada1d
File diff suppressed because one or more lines are too long
@ -6,7 +6,7 @@
|
|||||||
"types": "build/types/index.d.ts",
|
"types": "build/types/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "webpack serve --config webpack.config.demo.js",
|
"start": "webpack serve --config webpack.config.demo.js",
|
||||||
"build": "webpack && tsc && npm run build-modern",
|
"build": "webpack && npm run build-modern && tsc",
|
||||||
"build-modern": "webpack --config webpack.config.modern.js",
|
"build-modern": "webpack --config webpack.config.modern.js",
|
||||||
"test": "jest --silent",
|
"test": "jest --silent",
|
||||||
"coverage": "npm run test -- --coverage",
|
"coverage": "npm run test -- --coverage",
|
||||||
|
1
scripts/loaderMock.js
Normal file
1
scripts/loaderMock.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
module.exports = () => "";
|
@ -62,11 +62,14 @@ module.exports = {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
test: /\.(sa|sc|c)ss$/,
|
||||||
|
use: path.resolve('scripts/loaderMock.js')
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.IgnorePlugin({ resourceRegExp: /\.(sa|sc|c)ss$/ }),
|
|
||||||
new webpack.BannerPlugin(banner)
|
new webpack.BannerPlugin(banner)
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user