0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
svelte/rollup.config.js
2016-11-25 17:26:45 -05:00

20 lines
393 B
JavaScript

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