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