How can I patch out a prepack script? #6943
Unanswered
alexeyr-ci2
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Unfortunately yes; patching a package means we have to have this package in the first place, so it's fetched before being patched. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I use
eslint-plugin-reactas a Git dependency"eslint-plugin-react": "https://github.com/jsx-eslint/eslint-plugin-react.git#f2869fd6dc76ceb863c5e2aeea8bf4d392508775", theprepackscript fails. But it should already be usable without this script, it only generatesindex.d.ts, andindex.jsis already present.However, if I run
yarn install --mode skip-build, I still get(same with
enableScripts: false)And I can't use
yarn patchto remove the script withoutyarn install:Is the only workaround to fork and remove the script?
Beta Was this translation helpful? Give feedback.
All reactions