From d6e6dab56516ab738ca7749948e9bc3f9c6826f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Sun, 18 Mar 2018 15:42:29 -0400 Subject: [PATCH] Fix a forgotten npm reference --- src/command-line/index.js | 2 +- webpack.config.js | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) 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: {