21 lines
374 B
JavaScript
21 lines
374 B
JavaScript
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()
|
|
]
|
|
}
|