Merge pull request #1224 from balena-io/avoid-node-modules-transpilation

Avoid any transpilation of node_modules
This commit is contained in:
Page- 2020-03-24 14:47:16 +00:00 committed by GitHub
commit 3c80cd9a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -6,5 +6,5 @@
"preserveConstEnums": true,
"removeComments": true
},
"include": ["src/**/*.ts", "typings/**/*.d.ts"]
"include": ["src/**/*.ts", "src/**/*.js", "typings/**/*.d.ts"]
}

View File

@ -102,6 +102,7 @@ module.exports = function(env) {
},
{
test: /\.ts$|\.js$/,
exclude: /node_modules/,
use: [
{
loader: 'ts-loader',