Skip to content

Commit

Permalink
chore: remove deprecated package (#8196)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz authored May 1, 2023
1 parent b434d12 commit be38922
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 51 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"devDependencies": {
"@babel/parser": "^7.21.3",
"@babel/types": "^7.21.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@rollup/plugin-alias": "^4.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
Expand All @@ -73,6 +72,7 @@
"conventional-changelog-cli": "^2.0.31",
"enquirer": "^2.3.2",
"esbuild": "^0.17.4",
"esbuild-plugin-polyfill-node": "^0.2.0",
"eslint": "^8.33.0",
"eslint-plugin-jest": "^27.2.1",
"estree-walker": "^2.0.2",
Expand Down
68 changes: 20 additions & 48 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions scripts/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { resolve, relative, dirname } from 'node:path'
import { fileURLToPath } from 'node:url'
import { createRequire } from 'node:module'
import minimist from 'minimist'
import { NodeModulesPolyfillPlugin as nodePolyfills } from '@esbuild-plugins/node-modules-polyfill'
import { polyfillNode } from 'esbuild-plugin-polyfill-node'

const require = createRequire(import.meta.url)
const __dirname = dirname(fileURLToPath(import.meta.url))
Expand Down Expand Up @@ -92,7 +92,7 @@ const plugins = [
]

if (format === 'cjs' || pkg.buildOptions?.enableNonBrowserBranches) {
plugins.push(nodePolyfills())
plugins.push(polyfillNode())
}

esbuild
Expand Down

0 comments on commit be38922

Please sign in to comment.