|
|
@@ -10,17 +10,19 @@ export default { |
|
|
|
input: 'src/js/index.js',
|
|
|
|
output: {
|
|
|
|
file: 'dist/js/app.min.js',
|
|
|
|
name: 'CHEMTOP',
|
|
|
|
name: 'WBADV',
|
|
|
|
format: 'umd',
|
|
|
|
sourceMap: true
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
includePaths({
|
|
|
|
paths: ['src/js', 'src/js/widget', 'src/js/misc']
|
|
|
|
paths: ['src/js', 'src/js/widget', 'src/js/misc', 'src/js/component']
|
|
|
|
}),
|
|
|
|
copy({
|
|
|
|
'src/html/index.html': 'dist/index.html',
|
|
|
|
'src/css/index.css': 'dist/css/index.css',
|
|
|
|
'node_modules/bootstrap/dist/css/bootstrap.min.css': 'dist/css/bootstrap.min.css',
|
|
|
|
'node_modules/bootstrap/dist/js/bootstrap.min.js': 'dist/js/bootstrap.min.js',
|
|
|
|
verbose: true
|
|
|
|
}),
|
|
|
|
buble({jsx: 'h'}),
|
|
|
|