You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
418 B
17 lines
418 B
import typescript from 'rollup-plugin-typescript2' |
|
import pkg from './package.json' |
|
|
|
export default [ |
|
{ |
|
input: 'src/index.ts', |
|
output: { |
|
file: 'htdocs/js/c3.js', |
|
name: 'c3', |
|
format: 'umd', |
|
banner: `/* @license C3.js v${pkg.version} | (c) C3 Team and other contributors | http://c3js.org/ */`, |
|
globals: { d3: 'd3' } |
|
}, |
|
plugins: [typescript()], |
|
external: ['d3'] |
|
} |
|
]
|
|
|