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