Fix a forgotten npm reference

This commit is contained in:
Jérémie Astori 2018-03-18 15:42:29 -04:00 committed by Pavel Djundik
parent 0030f68831
commit d6e6dab565
2 changed files with 1 additions and 5 deletions

View file

@ -29,7 +29,7 @@ if (!fs.existsSync(path.join(
"public",
"manifest.json"
))) {
log.error(`The client application was not built. Run ${colors.bold("NODE_ENV=production npm run build")} to resolve this.`);
log.error(`The client application was not built. Run ${colors.bold("NODE_ENV=production yarn build")} to resolve this.`);
process.exit(1);
}

View file

@ -4,10 +4,6 @@ const webpack = require("webpack");
const path = require("path");
const CopyPlugin = require("copy-webpack-plugin");
// ********************
// Common configuration
// ********************
const config = {
mode: process.env.NODE_ENV === "production" ? "production" : "development",
entry: {