Update test.js
This commit is contained in:
parent
f8cbdcf466
commit
46ee9e113c
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue