diff --git a/scripts/build.js b/scripts/build.js index a745f49cfb..c18f637fab 100755 --- a/scripts/build.js +++ b/scripts/build.js @@ -47,6 +47,9 @@ let { argv } = require("yargs") async function runBuild(entry, outfile) { const isDev = process.env.NODE_ENV !== "production" + + console.log(`Building in mode ${process.env.NODE_ENV}`) + const tsconfig = argv["p"] || `tsconfig.build.json` const { data: tsconfigPathPluginContent } = loadTsConfig(