minimal main.js
This commit is contained in:
@@ -30,17 +30,25 @@ if (env === 'production') {
|
||||
|
||||
// Main Settings config
|
||||
module.exports = {
|
||||
entry: [
|
||||
'intersection-observer',
|
||||
'babel-polyfill',
|
||||
entryPoint
|
||||
],
|
||||
entry: {
|
||||
lib: [
|
||||
'intersection-observer',
|
||||
'babel-polyfill',
|
||||
'./src/lib/baseui.js'
|
||||
],
|
||||
main: [
|
||||
'intersection-observer',
|
||||
'babel-polyfill',
|
||||
entryPoint
|
||||
]
|
||||
},
|
||||
devtool: 'source-map',
|
||||
output: {
|
||||
path: exportPath,
|
||||
publicPath: 'build/',
|
||||
filename: '[name].bundle.js',
|
||||
chunkFilename: '[name].bundle.js'
|
||||
filename: 'baseui-[name].bundle.js',
|
||||
library: 'baseUI',
|
||||
libraryTarget: 'umd'
|
||||
},
|
||||
module: {
|
||||
loaders: [{
|
||||
|
||||
Reference in New Issue
Block a user