UNPKG

483 BJavaScriptView Raw
1import sourcemaps from 'rollup-plugin-sourcemaps';
2import license from 'rollup-plugin-license';
3
4const path = require('path');
5
6export default {
7 output: {
8 format: 'es',
9 sourcemap: true
10 },
11 plugins: [
12 sourcemaps(),
13 license({
14 sourceMap: true,
15
16 banner: {
17 file: path.join(__dirname, 'license-banner.txt'),
18 encoding: 'utf-8',
19 }
20 })
21 ],
22 onwarn: () => { return }
23}