23 lines
390 B
JavaScript
23 lines
390 B
JavaScript
const uglify = require('@bytedo/rollup-plugin-uglify')
|
|
|
|
module.exports = [
|
|
{
|
|
input: 'src/anot.js',
|
|
output: {
|
|
file: 'dist/anot.js',
|
|
format: 'es',
|
|
sourcemap: false
|
|
},
|
|
plugins: [uglify()]
|
|
},
|
|
{
|
|
input: 'src/anot.touch.js',
|
|
output: {
|
|
file: 'dist/anot.touch.js',
|
|
format: 'es',
|
|
sourcemap: false
|
|
},
|
|
plugins: [uglify()]
|
|
}
|
|
]
|