angular4-testing/ng2-admin/webpack.config.js

12 lines
326 B
JavaScript
Raw Permalink Normal View History

2017-02-24 22:54:59 +01:00
// Look in ./config folder for webpack.dev.js
switch (process.env.NODE_ENV) {
case 'prod':
case 'production':
module.exports = require('./config/webpack.prod')({env: 'production'});
break;
case 'dev':
case 'development':
default:
module.exports = require('./config/webpack.dev')({env: 'development'});
}