diff options
Diffstat (limited to 'client/config/webpack.dev.js')
-rw-r--r-- | client/config/webpack.dev.js | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/client/config/webpack.dev.js b/client/config/webpack.dev.js index affb20f19..1e975b261 100644 --- a/client/config/webpack.dev.js +++ b/client/config/webpack.dev.js | |||
@@ -88,6 +88,24 @@ module.exports = function (env) { | |||
88 | webtorrent: 'WebTorrent' | 88 | webtorrent: 'WebTorrent' |
89 | }, | 89 | }, |
90 | 90 | ||
91 | module: { | ||
92 | |||
93 | rules: [ | ||
94 | { | ||
95 | test: /\.ts$/, | ||
96 | use: [ | ||
97 | { | ||
98 | loader: 'tslint-loader', | ||
99 | options: { | ||
100 | configFile: 'tslint.json' | ||
101 | } | ||
102 | } | ||
103 | ], | ||
104 | exclude: [/\.(spec|e2e)\.ts$/] | ||
105 | } | ||
106 | ] | ||
107 | }, | ||
108 | |||
91 | plugins: [ | 109 | plugins: [ |
92 | 110 | ||
93 | /** | 111 | /** |
@@ -121,8 +139,7 @@ module.exports = function (env) { | |||
121 | { | 139 | { |
122 | name: 'zone.js', | 140 | name: 'zone.js', |
123 | path: 'zone.js/dist/long-stack-trace-zone.js' | 141 | path: 'zone.js/dist/long-stack-trace-zone.js' |
124 | }, | 142 | } |
125 | 'ts-helpers' | ||
126 | ], | 143 | ], |
127 | vendor: [ | 144 | vendor: [ |
128 | '@angular/platform-browser', | 145 | '@angular/platform-browser', |