1 | import sourcemaps from 'rollup-plugin-sourcemaps';
|
2 | import license from 'rollup-plugin-license';
|
3 |
|
4 | const path = require('path');
|
5 |
|
6 | export 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 | }
|