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.
svelte/rollup.config.js

16 lines
327 B

import nodeResolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
export default {
entry: 'compiler/index.js',
moduleName: 'svelte',
targets: [
{ dest: 'dist/svelte.js', format: 'umd' }
],
plugins: [
nodeResolve({ jsnext: true, module: true }),
commonjs()
],
sourceMap: true
};