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

20 lines
393 B
JavaScript
Raw Normal View History

2016-11-19 19:10:32 +01:00
import nodeResolve from 'rollup-plugin-node-resolve';
2016-11-25 23:26:45 +01:00
import buble from 'rollup-plugin-buble';
2016-11-19 19:10:32 +01:00
export default {
entry: 'compiler/index.js',
moduleName: 'svelte',
targets: [
2016-11-25 21:52:28 +01:00
{ dest: 'dist/svelte.js', format: 'umd' }
2016-11-19 19:10:32 +01:00
],
plugins: [
2016-11-25 23:26:45 +01:00
nodeResolve({ jsnext: true, module: true }),
buble({
transforms: {
dangerousForOf: true,
dangerousTaggedTemplateString: true
}
})
2016-11-19 19:10:32 +01:00
]
};