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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 BUG: Can't transpile files with new ES features such as optional chaining and private class fields #3937

Open
1 task done
andrisole92 opened this issue Jun 16, 2023 · 0 comments

Comments

@andrisole92
Copy link

Quick checklist

  • I am using the latest version of Snowpack and all plugins.

What package manager are you using?

yarn

What operating system are you using?

macOS

Describe the bug

It looks like esinstall is using rollup "~2.37.1" which is 2 years old and does not support newer features like optional changing and private class fields.

So once I am trying to transpile file with esinstall install function I am getting the following error:

Unexpected token (1983:2) in /Users/aruzencevs/base/coursera/web/node_modules/pdfjs-dist/build/pdf.js

Steps to reproduce

N/A

Link to minimal reproducible example (optional)

No response

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

No branches or pull requests

1 participant