Skip to content

Commit

Permalink
chore(esbuild-plugins-node-modules-polyfill): release esbuild-plugins…
Browse files Browse the repository at this point in the history
  • Loading branch information
imranbarbhuiya committed Aug 24, 2023
1 parent 12bc0dd commit 2b9122e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

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

# [1.5.0](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/compare/v1.4.1...v1.5.0) - (2023-08-24)

## 🐛 Bug Fixes

- Use empty polyfill if browser field is false (#151) ([3946db8](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/commit/3946db8eca299559b708fdc1b0863b9d4582ef2c))

## 📝 Documentation

- Update readme ([12bc0dd](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/commit/12bc0dd100b138910f91d80f569815cbbe59fa12))

## 🚀 Features

- Allow modules to be marked as errors (#152) ([c02060d](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/commit/c02060d2c854b874fce98a2e4bada314f524faa6))

# [1.4.1](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/compare/v1.4.0...v1.4.1) - (2023-08-23)

## 🐛 Bug Fixes
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ build({

### Provide empty polyfills:

### Provide empty polyfills for specific modules:
#### Provide empty polyfills for specific modules:

```ts
import { nodeModulesPolyfillPlugin } from 'esbuild-plugins-node-modules-polyfill';
Expand Down Expand Up @@ -138,7 +138,7 @@ build({

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

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

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

> **Note**
> **Warn**
> The `write` option in `esbuild` must be `false` to support this.
```ts
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esbuild-plugins-node-modules-polyfill",
"version": "1.4.1",
"version": "1.5.0",
"description": "Polyfills nodejs builtin modules and globals for the browser.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 2b9122e

Please sign in to comment.