es5 transpiling: optional chaining babel plugin
Unanswered
Orinoco Crocodile posted this in #help-forum
Orinoco CrocodileOP
Hey guys, I’m trying to transpile optional chaining from an non package on yarn build, using presets “next/babel†and “@babel/preset-envâ€, with that aforementioned plugin. However when opening the dist in an older browser, I’m still getting the “Uncaught SyntaxError: Unexpected token .†error. Anyone have some insight as to whether this should be theoretically possible?