tidev / hyperloop.next

Hyperloop Next version (we forgot the version number at this point)
Other
7 stars 4 forks source link

SyntaxError: This experimental syntax requires enabling the parser plugin: 'optionalChaining' #369

Open jasonkneen opened 2 years ago

jasonkneen commented 2 years ago

When enabling hyperloop in a project, and using optional changing so

e.result?.percent_off

you can't build on Android -- you get the error in the title as hyperloop scans files and those files use optional changing

The solution is to either not use HL or remove all optional chaining.

m1ga commented 2 years ago

We can test it with https://github.com/tidev/hyperloop.next/pull/370 once the Actions are updated .