Repository URL to install this package:
|
Version:
1.2.7 ▾
|
"use strict";
const path = require('path');
const join = (...args) => path.join(__dirname, ...args);
module.exports = function (env = {}) {
const merge = config => {
// scoped config, not by ref
const base = {
/* COMOON CONFIG */
};
return Object.assign(base, config);
};
return [merge({
entry: join('src', 'member_red', 'main.js'),
output: {
path: join('member_red_theme'),
filename: 'scripts/bundle.js'
}
}), merge({
entry: join('src', 'employee_blue', 'main.js'),
output: {
path: join('employee_blue_theme'),
filename: 'scripts/bundle.js'
}
})];
};