mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-29 16:36:44 +01:00
14 lines
299 B
JavaScript
14 lines
299 B
JavaScript
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 })
|
|
]
|
|
};
|