Skip to content

Instantly share code, notes, and snippets.

anonymous
anonymous / base.js
Created October 20, 2016 09:56
Fast hack for electrode to load custom webpack.config.js
```
Add this function somewhere in file: "electrode/node_modules/electrode-archetype-react-app/config/webpack/base.js"
```
function webpackCustomConfig() {
var webpackPath = Path.join(context, "webpack.config.js");
/* eslint-disable no-console, global-require */
try {
return require(webpackPath);