You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,23 @@
29
29
}
30
30
```
31
31
32
+
* Fix an edge case with the `inject` feature ([#4407](https://github.com/evanw/esbuild/issues/4407))
33
+
34
+
This release fixes an edge case where esbuild's `inject` feature could not be used with arbitrary module namespace names exported using an `export {} from` statement with bundling disabled and a target environment where arbitrary module namespace names is unsupported.
35
+
36
+
With the fix, the following `inject` file:
37
+
38
+
```js
39
+
import jquery from 'jquery';
40
+
export { jqueryas 'window.jQuery' };
41
+
```
42
+
43
+
Can now always be rewritten as this without esbuild sometimes incorrectly generating an error:
44
+
45
+
```js
46
+
export { defaultas 'window.jQuery' } from 'jquery';
47
+
```
48
+
32
49
## 0.27.3
33
50
34
51
* Preserve URL fragments in data URLs ([#4370](https://github.com/evanw/esbuild/issues/4370))
0 commit comments