mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-30 00:46:29 +01:00
16 lines
327 B
JavaScript
16 lines
327 B
JavaScript
import nodeResolve from 'rollup-plugin-node-resolve';
|
|
import commonjs from 'rollup-plugin-commonjs';
|
|
|
|
export default {
|
|
entry: 'compiler/index.js',
|
|
moduleName: 'svelte',
|
|
targets: [
|
|
{ dest: 'dist/svelte.js', format: 'umd' }
|
|
],
|
|
plugins: [
|
|
nodeResolve({ jsnext: true, module: true }),
|
|
commonjs()
|
|
],
|
|
sourceMap: true
|
|
};
|