Skip to content

Commit

Permalink
-> v0.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed May 29, 2017
1 parent 1068833 commit 7ca62db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# magic-string changelog

## 0.21.2

* Add `default` property referencing self in index-legacy.js, to work around TypeScript bug ([#121](https://github.com/Rich-Harris/magic-string/pull/121))

## 0.21.1

* Add typings file to package
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magic-string",
"description": "Modify strings, generate sourcemaps",
"author": "Rich Harris",
"version": "0.21.1",
"version": "0.21.2",
"repository": "https://github.com/rich-harris/magic-string",
"main": "dist/magic-string.cjs.js",
"module": "dist/magic-string.es.js",
Expand Down
1 change: 1 addition & 0 deletions src/index-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ import MagicString from './MagicString.js';
import Bundle from './Bundle.js';

MagicString.Bundle = Bundle;
MagicString.default = MagicString; // work around TypeScript bug https://github.com/Rich-Harris/magic-string/pull/121

export default MagicString;

0 comments on commit 7ca62db

Please sign in to comment.