work.suroh.tk/node_modules/acorn/rollup/config.loose.js

21 lines
374 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
import buble from 'rollup-plugin-buble'
export default {
entry: 'src/loose/index.js',
moduleName: 'acorn.loose',
external: [ 'acorn' ],
paths: {
acorn: './acorn.js'
},
globals: {
acorn: 'acorn'
},
targets: [
{ dest: 'dist/acorn_loose.js', format: 'umd' },
{ dest: 'dist/acorn_loose.es.js', format: 'es' }
],
plugins: [
buble()
]
}