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

Update module target in .babelrc #341

Merged
merged 3 commits into from Nov 29, 2023
Merged

Update module target in .babelrc #341

merged 3 commits into from Nov 29, 2023

Conversation

altaywtf
Copy link
Contributor

@altaywtf altaywtf commented Nov 18, 2023

a tiny PR to fix #329 (comment).

btw you don't need @babel/plugin-proposal-class-properties and @babel/plugin-proposal-object-rest-spread because they're are merged into preset-env.

  1. https://babeljs.io/docs/babel-plugin-transform-class-properties
  2. https://babeljs.io/docs/babel-plugin-transform-object-rest-spread

you're also using nullish coalescing operator but didn't have to add a transform for that, guess why? because it's also a part of the preset-env: https://babeljs.io/docs/babel-plugin-transform-nullish-coalescing-operator 😇👍

Copy link

vercel bot commented Nov 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-live-chat-loader ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 22, 2023 8:23am

@CLAassistant
Copy link

CLAassistant commented Nov 18, 2023

CLA assistant check
All committers have signed the CLA.

@robmorieson
Copy link
Contributor

@altaywtf thanks for spotting the bug and rolling out a fix: very much appreciated 🙌

Re. the additional points: would you be happy to include them in this PR?

@altaywtf
Copy link
Contributor Author

altaywtf commented Nov 22, 2023

sure thing, all good for me!

--

done! ⬇️

Copy link
Contributor

@robmorieson robmorieson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to go, thanks @altaywtf 🙏

@robmorieson robmorieson merged commit 5a283be into calibreapp:main Nov 29, 2023
2 checks passed
@altaywtf altaywtf deleted the patch-1 branch November 29, 2023 07:29
@altaywtf
Copy link
Contributor Author

🎉 🎉 😅 looking forward to eliminating one more line here:

// webpack.common.js
exclude: createTranspileDependencies([
  'react-live-chat-loader',
  'p-timeout',
  'p-min-delay',
]),

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

Successfully merging this pull request may close these issues.

None yet

3 participants