diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 00000000..e8f3a3cc --- /dev/null +++ b/webpack.config.js | |||
@@ -0,0 +1,8 @@ | |||
1 | const path = require('path'); | ||
2 | |||
3 | function buildConfig(env) { | ||
4 | env = env || 'prod'; | ||
5 | return require(path.resolve(__dirname, 'app/config/webpack/' + env + '.js'))({ env: env }) | ||
6 | } | ||
7 | |||
8 | module.exports = buildConfig; | ||