diff --git a/CHANGELOG.md b/CHANGELOG.md index 92aa3e1..2d6456d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 9244d3e..273ab96 100644 --- a/README.md +++ b/README.md @@ -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'; @@ -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 @@ -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 diff --git a/package.json b/package.json index 4a20e56..3a3bde9 100644 --- a/package.json +++ b/package.json @@ -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",