Debian Codegraph @

rollup.config.js

raw ◀ ▶
Source reconstructed at patch state 3 of 5 — not the installed (fully patched) source.
5 Debian patches touch this file
1 import buble from 'rollup-plugin-buble';
2 import nodeResolve from '@rollup/plugin-node-resolve';
3
4 const pkg = require( './package.json' );
5
6 export default {
7 input: 'src/index.js',
8 plugins: [
9 nodeResolve({modulePaths: ['/usr/share/nodejs']}),
10 buble({ exclude: 'node_modules/**' })
11 ],
12 output: [
13 { name: 'tippex', sourcemap: true, file: pkg.main, format: 'umd' },
14 { name: 'tippex', sourcemap: true, file: pkg.module, format: 'es' }
15 ]
16 };