8db1b02558
no issue - Updates npm/unpkg name to portal from members-js - Updates script name from `members.min.js` -> `portal.min.js`
21 lines
478 B
JavaScript
21 lines
478 B
JavaScript
const path = require('path');
|
|
const glob = require('glob');
|
|
|
|
module.exports = {
|
|
entry: {
|
|
'bundle.js': glob.sync('build/static/?(js|css)/main.*.?(js|css)').map(f => path.resolve(__dirname, f))
|
|
},
|
|
output: {
|
|
filename: 'portal.min.js',
|
|
path: __dirname + '/umd'
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.css$/,
|
|
use: ['style-loader', 'css-loader']
|
|
}
|
|
]
|
|
},
|
|
plugins: []
|
|
}; |