spee.ch/webpack.config.js

11 lines
291 B
JavaScript
Raw Normal View History

module.exports = (env, argv) => {
const isDev = argv.mode === 'development';
2018-08-01 01:01:16 +02:00
return isDev ? [
require('./webpack/webpack.server.config')(env, argv),
] : [
require('./webpack/webpack.server.config')(env, argv),
require('./webpack/webpack.client.config')(env, argv),
];
}