Skip to content

Commit be38922

Browse files
authored
chore: remove deprecated package (#8196)
see remorses/esbuild-plugins#29 (comment)
1 parent b434d12 commit be38922

File tree

3 files changed

+23
-51
lines changed

3 files changed

+23
-51
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
"devDependencies": {
5858
"@babel/parser": "^7.21.3",
5959
"@babel/types": "^7.21.3",
60-
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
6160
"@rollup/plugin-alias": "^4.0.3",
6261
"@rollup/plugin-commonjs": "^24.0.1",
6362
"@rollup/plugin-json": "^6.0.0",
@@ -73,6 +72,7 @@
7372
"conventional-changelog-cli": "^2.0.31",
7473
"enquirer": "^2.3.2",
7574
"esbuild": "^0.17.4",
75+
"esbuild-plugin-polyfill-node": "^0.2.0",
7676
"eslint": "^8.33.0",
7777
"eslint-plugin-jest": "^27.2.1",
7878
"estree-walker": "^2.0.2",

pnpm-lock.yaml

Lines changed: 20 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { resolve, relative, dirname } from 'node:path'
99
import { fileURLToPath } from 'node:url'
1010
import { createRequire } from 'node:module'
1111
import minimist from 'minimist'
12-
import { NodeModulesPolyfillPlugin as nodePolyfills } from '@esbuild-plugins/node-modules-polyfill'
12+
import { polyfillNode } from 'esbuild-plugin-polyfill-node'
1313

1414
const require = createRequire(import.meta.url)
1515
const __dirname = dirname(fileURLToPath(import.meta.url))
@@ -92,7 +92,7 @@ const plugins = [
9292
]
9393

9494
if (format === 'cjs' || pkg.buildOptions?.enableNonBrowserBranches) {
95-
plugins.push(nodePolyfills())
95+
plugins.push(polyfillNode())
9696
}
9797

9898
esbuild

0 commit comments

Comments
 (0)