Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace cache-loader with babel-loader's built-in cache #6142

Merged
merged 4 commits into from
Dec 14, 2020

Conversation

sodatea
Copy link
Member

@sodatea sodatea commented Dec 11, 2020

It's supposed to have better performance.
See babel/babel-loader#525 (comment)

Besides, this improves webpack 5 compatibility as cache-loader is now
deprecated

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

It's supposed to have better performance.
See babel/babel-loader#525 (comment)

Besides, this improves webpack 5 compatibility as cache-loader is now
deprecated
@sodatea sodatea merged commit 3b3cd90 into vuejs:dev Dec 14, 2020
@sodatea sodatea deleted the babel-loader-cache branch December 14, 2020 02:41
@lk77
Copy link

lk77 commented Feb 26, 2021

Hello,

when this will be released ?

i have still the issue on 4.5.11 :

npm WARN cache-loader@4.1.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
├─┬ @vue/cli-plugin-babel@4.5.11
│ └── cache-loader@4.1.0 
└─┬ @vue/cli-service@4.5.11
  └── cache-loader@4.1.0  deduped
.nvm/versions/node/v14.15.4/lib
└── @vue/cli@4.5.11

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants