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.
25 lines
487 B
25 lines
487 B
import buble from '@rollup/plugin-buble';
|
|
import nodeResolve from 'rollup-plugin-node-resolve';
|
|
import commonJS from 'rollup-plugin-commonjs';
|
|
|
|
export default {
|
|
input: 'demo.js',
|
|
output: { format: 'iife', file: 'demo_bundle.js' },
|
|
plugins: [
|
|
buble({
|
|
exclude: 'node_modules/**',
|
|
namedFunctionExpressions: false,
|
|
}),
|
|
|
|
nodeResolve({
|
|
main: true,
|
|
browser: true,
|
|
}),
|
|
|
|
commonJS({
|
|
include: '../**',
|
|
sourceMap: false,
|
|
}),
|
|
],
|
|
};
|