Open bennypowers opened 3 years ago
I get a similar problem with private class fields:
SyntaxError: unknown: Unexpected character '#'
@bennypowers You can also add to PR: https://www.npmjs.com/package/@babel/plugin-proposal-private-methods
and here the dependencies for plugin are not specified: https://github.com/mjackson/unpkg/blob/a7ebffaa4928e95e14dc467979860779bcdcd8a7/package.json#L17
That plugin is included in babel preset-env
That plugin is included in babel preset-env
Here's an example, it doesn't work https://unpkg.com/@notml/core@0.1.0-pre.7/lib/style.js?module
@bennypowers, I'm having the same issue as @IgorNovozhilov
Compare
https://unpkg.com/haunted@4.8.1/lib/create-effect.js?module
with
https://unpkg.com/haunted@4.8.2/lib/create-effect.js?module
Ostensibly some babelrc work is needed?