]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/config/webpack.dev.js
Client: use tslib instead of ts-helpers
[github/Chocobozzz/PeerTube.git] / client / config / webpack.dev.js
index affb20f1904587cc1c1527f18ebe03248783a27a..1e975b26133a1df72c461911c33d1c8e451f6b64 100644 (file)
@@ -88,6 +88,24 @@ module.exports = function (env) {
       webtorrent: 'WebTorrent'
     },
 
+    module: {
+
+      rules: [
+        {
+          test: /\.ts$/,
+          use: [
+            {
+              loader: 'tslint-loader',
+              options: {
+                configFile: 'tslint.json'
+              }
+            }
+          ],
+          exclude: [/\.(spec|e2e)\.ts$/]
+        }
+      ]
+    },
+
     plugins: [
 
       /**
@@ -121,8 +139,7 @@ module.exports = function (env) {
             {
               name: 'zone.js',
               path: 'zone.js/dist/long-stack-trace-zone.js'
-            },
-            'ts-helpers'
+            }
           ],
           vendor: [
             '@angular/platform-browser',