Skip to content

Commit 2b9122e

Browse files
chore(esbuild-plugins-node-modules-polyfill): release esbuild-plugins-node-modules-polyfill@1.5.0
1 parent 12bc0dd commit 2b9122e

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
# [1.5.0](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/compare/v1.4.1...v1.5.0) - (2023-08-24)
6+
7+
## 🐛 Bug Fixes
8+
9+
- Use empty polyfill if browser field is false (#151) ([3946db8](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/commit/3946db8eca299559b708fdc1b0863b9d4582ef2c))
10+
11+
## 📝 Documentation
12+
13+
- Update readme ([12bc0dd](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/commit/12bc0dd100b138910f91d80f569815cbbe59fa12))
14+
15+
## 🚀 Features
16+
17+
- Allow modules to be marked as errors (#152) ([c02060d](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/commit/c02060d2c854b874fce98a2e4bada314f524faa6))
18+
519
# [1.4.1](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/compare/v1.4.0...v1.4.1) - (2023-08-23)
620

721
## 🐛 Bug Fixes

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ build({
8888

8989
### Provide empty polyfills:
9090

91-
### Provide empty polyfills for specific modules:
91+
#### Provide empty polyfills for specific modules:
9292

9393
```ts
9494
import { nodeModulesPolyfillPlugin } from 'esbuild-plugins-node-modules-polyfill';
@@ -138,7 +138,7 @@ build({
138138

139139
### Fail the build when certain modules are used:
140140

141-
> **Note**
141+
> **Warn**
142142
> The `write` option in `esbuild` must be `false` to support this.
143143
144144
```ts
@@ -159,7 +159,7 @@ const buildResult = await build({
159159

160160
### Fail the build when a module is not polyfilled or configured:
161161

162-
> **Note**
162+
> **Warn**
163163
> The `write` option in `esbuild` must be `false` to support this.
164164
165165
```ts

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-plugins-node-modules-polyfill",
3-
"version": "1.4.1",
3+
"version": "1.5.0",
44
"description": "Polyfills nodejs builtin modules and globals for the browser.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)