diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-04-21 11:06:33 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-04-26 21:23:19 +0200 |
commit | 383bfc8356d444cbed1dab7e5c1b3bb16becfdfd (patch) | |
tree | ae0541d99056d75b08f14e8e4ea73f67f173d942 /client/config/webpack.dev.js | |
parent | 240c64c5f4277f0ce36c094f0663bd30d264ec40 (diff) | |
download | PeerTube-383bfc8356d444cbed1dab7e5c1b3bb16becfdfd.tar.gz PeerTube-383bfc8356d444cbed1dab7e5c1b3bb16becfdfd.tar.zst PeerTube-383bfc8356d444cbed1dab7e5c1b3bb16becfdfd.zip |
Client: responsive design
Diffstat (limited to 'client/config/webpack.dev.js')
-rw-r--r-- | client/config/webpack.dev.js | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/client/config/webpack.dev.js b/client/config/webpack.dev.js index 3468dba78..5e0f36d7f 100644 --- a/client/config/webpack.dev.js +++ b/client/config/webpack.dev.js | |||
@@ -90,23 +90,24 @@ module.exports = function (env) { | |||
90 | 90 | ||
91 | module: { | 91 | module: { |
92 | 92 | ||
93 | rules: [ | 93 | // Too slow, life is short |
94 | { | 94 | // rules: [ |
95 | test: /\.ts$/, | 95 | // { |
96 | use: [ | 96 | // test: /\.ts$/, |
97 | { | 97 | // use: [ |
98 | loader: 'tslint-loader', | 98 | // { |
99 | options: { | 99 | // loader: 'tslint-loader', |
100 | configFile: 'tslint.json' | 100 | // options: { |
101 | } | 101 | // configFile: 'tslint.json' |
102 | } | 102 | // } |
103 | ], | 103 | // } |
104 | exclude: [ | 104 | // ], |
105 | /\.(spec|e2e)\.ts$/, | 105 | // exclude: [ |
106 | /node_modules\// | 106 | // /\.(spec|e2e)\.ts$/, |
107 | ] | 107 | // /node_modules\// |
108 | } | 108 | // ] |
109 | ] | 109 | // } |
110 | // ] | ||
110 | }, | 111 | }, |
111 | 112 | ||
112 | plugins: [ | 113 | plugins: [ |
@@ -202,6 +203,7 @@ module.exports = function (env) { | |||
202 | tslint: { | 203 | tslint: { |
203 | emitErrors: false, | 204 | emitErrors: false, |
204 | failOnHint: false, | 205 | failOnHint: false, |
206 | typeCheck: true, | ||
205 | resourcePath: 'src' | 207 | resourcePath: 'src' |
206 | }, | 208 | }, |
207 | 209 | ||