You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
fix: remove optional chaining from code that will be transpiled (#3698)
Optional chaining is supported in node and in browsers but tools that
transpile code to run in older browsers doesn't understand the syntax.
Specifically the version of acorn that at least vue uses via a dependency
on webpack 4 does not support this.
It'll be fixed by them upgrading to webpack 5 but the timescale on that
is unclear, which is why we're using a prerelease version in our examples.
The short term fix is to just remove optional chaining from where we
are using it in code that will be transpiled for browser use.
0 commit comments