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
parent
commit
f3804afc48
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Squidex/app-config/webpack.config.js
  2. 1
      src/Squidex/tsconfig.json

2
src/Squidex/app-config/webpack.config.js

@ -303,7 +303,7 @@ module.exports = function (env) {
config.module.rules.push({
test: /\.ts$/,
use: [{
loader: 'istanbul-instrumenter-loader'
loader: 'istanbul-instrumenter-loader?esModules=true'
}, {
loader: 'ts-loader'
}],

1
src/Squidex/tsconfig.json

@ -7,6 +7,7 @@
"importHelpers": true,
"lib": ["es6", "esnext", "dom"],
"moduleResolution": "node",
"module": "esnext",
"noEmitHelpers": true,
"noImplicitAny": true,
"noUnusedLocals": true,

Loading…
Cancel
Save