0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
svelte/rollup.config.js
2016-11-26 10:52:25 -05:00

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