magic-string
Advanced tools
Comparing version 0.14.0 to 0.15.0
# changelog | ||
## 0.15.0 | ||
* Use named export of `Bundle` in ES build, so ES consumers of magic-string can tree-shake it out | ||
## 0.14.0 | ||
@@ -4,0 +8,0 @@ |
@@ -1180,5 +1180,3 @@ import { encode } from 'vlq'; | ||
MagicString.Bundle = Bundle; | ||
export default MagicString; | ||
export { Bundle };export default MagicString; | ||
//# sourceMappingURL=magic-string.es6.js.map |
@@ -5,3 +5,3 @@ { | ||
"author": "Rich Harris", | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"repository": "https://github.com/rich-harris/magic-string", | ||
@@ -44,5 +44,5 @@ "main": "dist/magic-string.cjs.js", | ||
"ci": "npm run test-coverage && codecov < coverage/coverage-remapped.lcov", | ||
"build:cjs": "rollup -c -f cjs -o dist/magic-string.cjs.js", | ||
"build:es6": "rollup -c -f es6 -o dist/magic-string.es6.js", | ||
"build:umd": "rollup -c --environment DEPS -f umd -o dist/magic-string.umd.js", | ||
"build:cjs": "rollup -c", | ||
"build:es6": "rollup -c --environment ES", | ||
"build:umd": "rollup -c --environment DEPS", | ||
"build": " npm run build:cjs && npm run build:es6 && npm run build:umd", | ||
@@ -49,0 +49,0 @@ "prepublish": "rm -rf dist && npm test && npm run build:es6 && npm run build:umd", |
import MagicString from './MagicString.js'; | ||
import Bundle from './Bundle.js'; | ||
MagicString.Bundle = Bundle; | ||
export default MagicString; | ||
export { default as Bundle } from './Bundle.js'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22
3600
332018