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

Fix Nuxt build fail due to Babel error #22

Closed
valentinoli opened this issue Aug 9, 2021 · 1 comment
Closed

Fix Nuxt build fail due to Babel error #22

valentinoli opened this issue Aug 9, 2021 · 1 comment
Labels
dependencies Pull requests that update a dependency file

Comments

@valentinoli
Copy link
Contributor

We can update Nuxt from v2.15.5 to the latest version when the following PR has been merged: nuxt/nuxt#9631

The issue arose when attempting to use the following Babel plugin to solve #21

https://babeljs.io/docs/en/babel-plugin-proposal-class-properties

See discussions here:

rails/webpacker#3008 (comment)
https://stackoverflow.com/q/67350359/8238129
https://stackoverflow.com/q/68663581/8238129

@valentinoli valentinoli added the dependencies Pull requests that update a dependency file label Aug 9, 2021
@valentinoli valentinoli changed the title Update Nuxt when PR has been merged Fix Nuxt build fail due to Babel error Aug 10, 2021
@valentinoli
Copy link
Contributor Author

The bug was not related to the fact I was using a Babel plugin. It was an error in Nuxt. In the end, I did not need to explicitly declare the plugin since it is included in @babel/preset-env and I could simply use the transpile option of the Nuxt build property to transpile yarrrml-parser. See #21

valentinoli added a commit that referenced this issue Aug 12, 2021
andreaskundig pushed a commit that referenced this issue Jul 26, 2022
Bumps [webpack](https://github.com/webpack/webpack) from 5.60.0 to 5.73.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.60.0...v5.73.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant