0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-29 16:36:44 +01:00
svelte/rollup.config.js
2016-11-19 13:10:32 -05:00

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 })
]
};