rollup config

This commit is contained in:
NatureFreshMilk 2019-09-19 08:03:57 +02:00
parent 7c24c4b030
commit 3b28b3badd
2 changed files with 12 additions and 0 deletions

2
static/js/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
bundle.js
bundle.js.map

View File

@ -0,0 +1,10 @@
module.exports = {
input: 'main.js',
output: {
file :'bundle.js',
format: 'umd',
sourcemap: true,
compact: true
}
};