File: rollup.config.js

package info (click to toggle)
node-rollup-plugin-babel 3.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 376 kB
  • sloc: makefile: 6; sh: 2
file content (14 lines) | stat: -rw-r--r-- 357 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import buble from 'rollup-plugin-buble';

var external = Object.keys( require( './package.json' ).dependencies );

export default {
	entry: 'src/index.js',
	plugins: [ buble() ],
	external: external,
	targets: [
		{ dest: 'dist/rollup-plugin-babel.cjs.js', format: 'cjs' },
		{ dest: 'dist/rollup-plugin-babel.es.js', format: 'es' }
	],
	sourceMap: true
};