Skip to content

Commit

Permalink
build(webpack): remove scoped process imports
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n committed Mar 28, 2024
1 parent 284b3d2 commit 9536f72
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 40 deletions.
30 changes: 0 additions & 30 deletions package-lock.json

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

9 changes: 0 additions & 9 deletions packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,15 +460,6 @@ module.exports = function (webpackEnv) {
and: [/\.(ts|tsx|js|jsx|md|mdx)$/],
},
},
// Provide explicit import of `process` symbol.
{
test: /@apidevtools\/json-schema-ref-parser\/lib\/util\/url.js$/,
loader: 'imports-loader',
options: {
type: 'commonjs',
imports: ['single process/browser process'],
},
},
{
test: /\.(js|mjs|jsx|ts|tsx)$/,
include: paths.appSrc,
Expand Down
1 change: 0 additions & 1 deletion packages/react-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"inspectpack": "^4.7.1",
"imports-loader": "^5.0.0",
"jest": "^27.4.3",
"jest-resolve": "^27.4.2",
"jest-watch-typeahead": "^1.0.0",
Expand Down

0 comments on commit 9536f72

Please sign in to comment.