diff --git a/src/command-line/index.js b/src/command-line/index.js index 9ea7dbf4..8a7a7f26 100644 --- a/src/command-line/index.js +++ b/src/command-line/index.js @@ -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); } diff --git a/webpack.config.js b/webpack.config.js index 145a76ba..74d8d532 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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: {