2020-04-20 09:27:08 +03:00
|
|
|
const path = require('path');
|
|
|
|
const glob = require('glob');
|
2020-03-24 16:19:04 +03:00
|
|
|
|
|
|
|
module.exports = {
|
2020-04-20 09:27:08 +03:00
|
|
|
entry: {
|
|
|
|
'bundle.js': glob.sync('build/static/?(js|css)/main.*.?(js|css)').map(f => path.resolve(__dirname, f))
|
|
|
|
},
|
|
|
|
output: {
|
2020-04-20 19:40:58 +03:00
|
|
|
filename: 'members.min.js',
|
|
|
|
path: __dirname + '/umd'
|
2020-04-20 09:27:08 +03:00
|
|
|
},
|
|
|
|
module: {
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
test: /\.css$/,
|
|
|
|
use: ['style-loader', 'css-loader']
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
plugins: []
|
|
|
|
};
|