Archived
1
0

Add ignore-loader dependency and ignore more things

This commit is contained in:
Asher
2019-01-22 11:02:08 -06:00
committed by Kyle Carberry
parent 811260cc80
commit 4e6d6f0725
3 changed files with 13 additions and 2 deletions

View File

@ -17,7 +17,12 @@ module.exports = (options = {}) => ({
test: /\.(js)/,
exclude: /test/,
}, {
test: /\.(txt|d\.ts|test.ts|perf.data.js|jxs)/,
test: /\.(txt|d\.ts|test.ts|perf.data.js|jxs|md|scpt|exe|sh|less)$/,
use: [{
loader: "ignore-loader",
}],
}, {
test: /electron-browser.+\.html$/,
use: [{
loader: "ignore-loader",
}],
@ -50,7 +55,7 @@ module.exports = (options = {}) => ({
test: /\.wasm$/,
type: "javascript/auto",
}],
noParse: /\.test\.(j|t)sx?/,
noParse: /\/test\/|\.test\.jsx?|\.test\.tsx?|tsconfig.+\.json$/,
},
resolve: {
alias: {