Browse Source
Module resolution fixed to improve file size. (#406)
* Module resolution fixed to improve file size.
* Fix test build.
pull/408/head
Sebastian Stehle
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
src/Squidex/app-config/webpack.config.js
-
src/Squidex/tsconfig.json
|
|
@ -303,7 +303,7 @@ module.exports = function (env) { |
|
|
config.module.rules.push({ |
|
|
config.module.rules.push({ |
|
|
test: /\.ts$/, |
|
|
test: /\.ts$/, |
|
|
use: [{ |
|
|
use: [{ |
|
|
loader: 'istanbul-instrumenter-loader' |
|
|
loader: 'istanbul-instrumenter-loader?esModules=true' |
|
|
}, { |
|
|
}, { |
|
|
loader: 'ts-loader' |
|
|
loader: 'ts-loader' |
|
|
}], |
|
|
}], |
|
|
|
|
|
@ -7,6 +7,7 @@ |
|
|
"importHelpers": true, |
|
|
"importHelpers": true, |
|
|
"lib": ["es6", "esnext", "dom"], |
|
|
"lib": ["es6", "esnext", "dom"], |
|
|
"moduleResolution": "node", |
|
|
"moduleResolution": "node", |
|
|
|
|
|
"module": "esnext", |
|
|
"noEmitHelpers": true, |
|
|
"noEmitHelpers": true, |
|
|
"noImplicitAny": true, |
|
|
"noImplicitAny": true, |
|
|
"noUnusedLocals": true, |
|
|
"noUnusedLocals": true, |
|
|
|