From 46ee9e113ce746b50841e3537e831a443030f231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=A3=9A?= <849005670@qq.com> Date: Fri, 3 Dec 2021 16:19:26 +0800 Subject: [PATCH] Update test.js --- scripts/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/test.js b/scripts/test.js index cf0cc15b..938de119 100644 --- a/scripts/test.js +++ b/scripts/test.js @@ -49,7 +49,7 @@ const argv = process.argv.slice(2); const writeStatsJson = argv.indexOf('--stats') !== -1; // Generate configuration -const config = configFactory('test'); +const config = configFactory('production'); // We require that you explicitly set browsers and do not fall back to // browserslist defaults. @@ -135,7 +135,7 @@ checkBrowsers(paths.appPath, isInteractive) // Create the production build and print the deployment instructions. function build(previousFileSizes) { - console.log('Creating an optimized test build...'); + console.log('Creating an optimized production build...'); const compiler = webpack(config); return new Promise((resolve, reject) => {