File: rollup.config.js

package info (click to toggle)
node-rollup-pluginutils 2.3.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 312 kB
  • sloc: makefile: 20; sh: 8
file content (19 lines) | stat: -rw-r--r-- 323 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
var pkg = require('./package.json');
import buble from 'rollup-plugin-buble';

export default {
	input: 'src/index.js',
	plugins: [ buble() ],
	external: [ 'path', 'estree-walker', 'micromatch', 'tosource' ],

	output: [
		{
			format: 'cjs',
			file: pkg['main']
		},
		{
			format: 'es',
			file: pkg['module']
		}
	]
};