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
No known key found for this signature in database
GPG Key ID: A0409BDB6B0B3EDB
3 changed files with 13 additions and 2 deletions

View File

@ -23,6 +23,7 @@
"happypack": "^5.0.1", "happypack": "^5.0.1",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^3.2.0",
"http-browserify": "^1.7.0", "http-browserify": "^1.7.0",
"ignore-loader": "^0.1.2",
"mini-css-extract-plugin": "^0.5.0", "mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.11.0", "node-sass": "^4.11.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",

View File

@ -17,7 +17,12 @@ module.exports = (options = {}) => ({
test: /\.(js)/, test: /\.(js)/,
exclude: /test/, 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: [{ use: [{
loader: "ignore-loader", loader: "ignore-loader",
}], }],
@ -50,7 +55,7 @@ module.exports = (options = {}) => ({
test: /\.wasm$/, test: /\.wasm$/,
type: "javascript/auto", type: "javascript/auto",
}], }],
noParse: /\.test\.(j|t)sx?/, noParse: /\/test\/|\.test\.jsx?|\.test\.tsx?|tsconfig.+\.json$/,
}, },
resolve: { resolve: {
alias: { alias: {

View File

@ -2333,6 +2333,11 @@ iferr@^0.1.5:
resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501"
integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE= integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE=
ignore-loader@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/ignore-loader/-/ignore-loader-0.1.2.tgz#d81f240376d0ba4f0d778972c3ad25874117a463"
integrity sha1-2B8kA3bQuk8Nd4lyw60lh0EXpGM=
ignore-walk@^3.0.1: ignore-walk@^3.0.1:
version "3.0.1" version "3.0.1"
resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8" resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8"