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

14 lines
299 B

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