From 12845b70f054139c0c3afcacafd93abc0e926a03 Mon Sep 17 00:00:00 2001 From: maxceem Date: Tue, 30 Jan 2018 17:28:13 +0800 Subject: [PATCH] Fix small mismatches in docs/webpack-config.md --- docs/webpack-config.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/webpack-config.md b/docs/webpack-config.md index e1f20b49..878d7ed9 100644 --- a/docs/webpack-config.md +++ b/docs/webpack-config.md @@ -154,7 +154,7 @@ project. Create the following configuration file inside `config/webpack` folder /* Note that config JS files are not processed by Babel, thus you should use * only the subset of JS syntax natively understood by the current Node version. */ -const configFactory = require('topcoder-react-utils/config/webpack/development'); +const configFactory = require('topcoder-react-utils/config/webpack/app-development'); const path = require('path'); const standardConfig = configFactory({ @@ -185,7 +185,7 @@ the root of your code: /* eslint-disable import/no-dynamic-require */ module.exports = function buildConfig(env) { - return require(`./config/webpack/app-${env}.js`); + return require(`./config/webpack/${env}.js`); } ```