Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/webpack-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -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`);
}
```

Expand Down