bundle magic-string
@ -39,9 +39,6 @@
"url": "https://github.com/sveltejs/svelte/issues"
},
"homepage": "https://github.com/sveltejs/svelte#README",
"dependencies": {
"magic-string": "^0.19.0"
"devDependencies": {
"acorn": "^4.0.4",
"babel": "^6.23.0",
@ -65,6 +62,7 @@
"glob": "^7.1.1",
"jsdom": "^9.9.1",
"locate-character": "^2.0.0",
"magic-string": "^0.19.0",
"mocha": "^3.2.0",
"node-resolve": "^1.3.3",
"nyc": "^10.0.0",
@ -21,9 +21,5 @@ export default {
}
})
],
external: [ 'magic-string' ],
globals: {
'magic-string': 'MagicString'
sourceMap: true
};
@ -20,7 +20,7 @@ export default {
external: [ path.resolve( 'src/index.js' ), 'fs', 'path', 'magic-string' ],
external: [ path.resolve( 'src/index.js' ), 'fs', 'path' ],
paths: {
[ path.resolve( 'src/index.js' ) ]: '../compiler/svelte.js'