We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b4584d + 0b19337 commit f1a6e4cCopy full SHA for f1a6e4c
devtools/test_dashboard/server.js
@@ -9,8 +9,6 @@ var minimist = require('minimist');
9
var constants = require('../../tasks/util/constants');
10
var config = require('../../webpack.config.js');
11
config.optimization = { minimize: false };
12
-config.mode = 'development';
13
-config.devtool = 'eval';
14
15
var args = minimist(process.argv.slice(2), {});
16
var PORT = args.port || 3000;
@@ -20,6 +18,12 @@ var mathjax3chtml = args.mathjax3chtml;
20
18
21
19
if(strict) config.entry = './lib/index-strict.js';
22
+if(!strict) {
+ config.mode = 'development';
23
+ config.devtool = 'eval';
24
+}
25
+
26
27
// mock list
28
getMockFiles()
29
.then(readFiles)
0 commit comments