We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dfb95a commit f22c7caCopy full SHA for f22c7ca
packages/mars-cli/lib/build.js
@@ -17,6 +17,9 @@ async function build(cmd) {
17
build
18
} = require(buildPath + '/src/scripts/run');
19
20
+
21
+ process.env.NODE_ENV = 'production';
22
23
build(config, {
24
target,
25
build: true
packages/mars-cli/lib/serve.js
@@ -18,6 +18,9 @@ async function start(cmd) {
let isServiceStarted = false;
+ process.env.NODE_ENV = 'development';
watch(config, {
target
26
}).on('stop', () => {
0 commit comments