]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/config/webpack.dev.js
Client: responsive design
[github/Chocobozzz/PeerTube.git] / client / config / webpack.dev.js
index affb20f1904587cc1c1527f18ebe03248783a27a..5e0f36d7f688532b16b632e1f13f31505083dfcc 100644 (file)
@@ -88,6 +88,28 @@ module.exports = function (env) {
       webtorrent: 'WebTorrent'
     },
 
+    module: {
+
+      // Too slow, life is short
+      // rules: [
+      //   {
+      //     test: /\.ts$/,
+      //     use: [
+      //       {
+      //         loader: 'tslint-loader',
+      //         options: {
+      //           configFile: 'tslint.json'
+      //         }
+      //       }
+      //     ],
+      //     exclude: [
+      //       /\.(spec|e2e)\.ts$/,
+      //       /node_modules\//
+      //     ]
+      //   }
+      // ]
+    },
+
     plugins: [
 
       /**
@@ -121,8 +143,7 @@ module.exports = function (env) {
             {
               name: 'zone.js',
               path: 'zone.js/dist/long-stack-trace-zone.js'
-            },
-            'ts-helpers'
+            }
           ],
           vendor: [
             '@angular/platform-browser',
@@ -182,6 +203,7 @@ module.exports = function (env) {
           tslint: {
             emitErrors: false,
             failOnHint: false,
+            typeCheck: true,
             resourcePath: 'src'
           },