File: rollup.config.js

package info (click to toggle)
node-rollup-plugin-typescript 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 224 kB
  • sloc: makefile: 6; sh: 2
file content (32 lines) | stat: -rw-r--r-- 387 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import buble from 'rollup-plugin-buble';

var pkg = require( './package.json' );

export default {
	entry: 'src/index.js',

	external: [
		'compare-versions',
		'path',
		'fs',
		'object-assign',
		'rollup-pluginutils',
		'tippex',
		'typescript'
	],

	plugins: [
		buble()
	],

	targets: [
		{
			format: 'cjs',
			dest: pkg.main
		},
		{
			format: 'es',
			dest: pkg.module
		}
	]
};