Skip to content

Commit

Permalink
Merge pull request #412 from sveltejs/gh-410
Browse files Browse the repository at this point in the history
bundle magic-string
  • Loading branch information
Rich-Harris authored Mar 27, 2017
2 parents 75392ff + cd74519 commit 0df3cf6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
4 changes: 0 additions & 4 deletions rollup/rollup.config.main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,5 @@ export default {
}
})
],
external: [ 'magic-string' ],
globals: {
'magic-string': 'MagicString'
},
sourceMap: true
};
2 changes: 1 addition & 1 deletion rollup/rollup.config.ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
},
Expand Down

0 comments on commit 0df3cf6

Please sign in to comment.