mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-21 00:23:02 +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",
|
||||
"scripts": {
|
||||
"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",
|
||||
"test": "jest --silent",
|
||||
"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: [
|
||||
new webpack.IgnorePlugin({ resourceRegExp: /\.(sa|sc|c)ss$/ }),
|
||||
new webpack.BannerPlugin(banner)
|
||||
],
|
||||
resolve: {
|
||||
|
Loading…
Reference in New Issue
Block a user