webtorrent: 'WebTorrent'
},
+ module: {
+
+ rules: [
+ {
+ test: /\.ts$/,
+ use: [
+ {
+ loader: 'tslint-loader',
+ options: {
+ configFile: 'tslint.json'
+ }
+ }
+ ],
+ exclude: [/\.(spec|e2e)\.ts$/]
+ }
+ ]
+ },
+
plugins: [
/**
{
name: 'zone.js',
path: 'zone.js/dist/long-stack-trace-zone.js'
- },
- 'ts-helpers'
+ }
],
vendor: [
'@angular/platform-browser',
"source-map-loader": "^0.1.5",
"string-replace-loader": "^1.0.3",
"style-loader": "^0.13.1",
- "ts-helpers": "^1.1.1",
+ "tslib": "^1.5.0",
"tslint": "~4.3.1",
"tslint-loader": "^3.3.0",
"typescript": "~2.1.0",
import 'core-js/es7/reflect';
import 'zone.js/dist/zone';
-// Typescript emit helpers polyfill
-import 'ts-helpers';
-
if ('production' !== ENV) {
Error.stackTraceLimit = Infinity;
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"noEmitHelpers": true,
+ "importHelpers": true,
"strictNullChecks": false,
"baseUrl": "./src",
"paths": [
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"noEmitHelpers": true,
+ "importHelpers": true,
"strictNullChecks": false,
"baseUrl": "./src",
"outDir": "./dist",