mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +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 })
|
|
]
|
|
};
|