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

16 lines
274 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
import buble from 'rollup-plugin-buble'
export default {
entry: 'src/bin/acorn.js',
dest: 'bin/acorn',
format: 'cjs',
banner: '#!/usr/bin/env node',
external: [ 'fs', 'path', 'acorn' ],
paths: {
acorn: '../dist/acorn.js'
},
plugins: [
buble()
]
}