1
zsj1029 2023-01-10 15:29:04 +08:00
1 、直接把版本号改掉,npm i
2 、找到相关调用代码,修改成新用法 |
2
TomVista 2023-01-10 15:44:40 +08:00
npm i [email protected]
|
3
lifesimple OP |
4
TomVista 2023-01-10 16:05:08 +08:00
没认真看是 babel-core,这种情况只能 fork 一份 babel-core,自己改改了,
|
5
gouflv 2023-01-10 16:51:59 +08:00 via iPhone
webpack resolve alias
|
6
duan602728596 2023-01-10 18:41:53 +08:00
npm overrides ,yarn resolutions
|
7
duan602728596 2023-01-10 18:43:05 +08:00
还有就是虽然你不想升级,但是 babel 的版本确实很旧了
|
8
Daming 2023-01-10 18:49:37 +08:00
@duan602728596 #6
yarn overrides ,pnpm resolutions |
9
okex 2023-01-10 18:53:44 +08:00
yarn patch-package
|