@linaria/shaker
Advanced tools
Comparing version 3.0.0-beta.9 to 3.0.0-beta.10
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.0.0-beta.10](https://github.com/callstack/linaria/compare/v3.0.0-beta.9...v3.0.0-beta.10) (2021-07-24) | ||
### Bug Fixes | ||
* **shaker:** use the last export statement instead of the 1st ([#804](https://github.com/callstack/linaria/issues/804)) ([b79584c](https://github.com/callstack/linaria/commit/b79584c292aaa50eb2a420b73434341419b01ff9)) | ||
# [3.0.0-beta.9](https://github.com/callstack/linaria/compare/v3.0.0-beta.8...v3.0.0-beta.9) (2021-07-23) | ||
@@ -8,0 +19,0 @@ |
@@ -95,5 +95,6 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
this.global.set(name, new Set()); | ||
this.declarations.set(getId(this.global, name), memberExp); | ||
} | ||
} // There can be a few `export.foo = …` statements, but we need only the last one | ||
this.declarations.set(getId(this.global, name), memberExp); | ||
this.global.get(name).add(memberExp); | ||
@@ -100,0 +101,0 @@ return; |
@@ -112,5 +112,6 @@ "use strict"; | ||
this.global.set(name, new Set()); | ||
this.declarations.set(getId(this.global, name), memberExp); | ||
} | ||
} // There can be a few `export.foo = …` statements, but we need only the last one | ||
this.declarations.set(getId(this.global, name), memberExp); | ||
this.global.get(name).add(memberExp); | ||
@@ -117,0 +118,0 @@ return; |
{ | ||
"name": "@linaria/shaker", | ||
"version": "3.0.0-beta.9", | ||
"version": "3.0.0-beta.10", | ||
"publishConfig": { | ||
@@ -59,3 +59,3 @@ "access": "public" | ||
}, | ||
"gitHead": "60f8fc31b6f67f26a42fab17dda163f17ee9c0ad" | ||
"gitHead": "ff1268faf92408caf80ca272f5f87c306f75df79" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
307558