effector / patronum

☄️ Effector operators library delivering modularity and convenience ✨
https://patronum.effector.dev
MIT License
296 stars 43 forks source link

Module parse failed: Unexpected token patronum.umd.js #255

Open psdarko opened 2 years ago

psdarko commented 2 years ago

Optional chaining ?. on many places of code

p({ type: t, name: o, scopeName: n?.name, value: e });

patronum@1.12.3

AlexandrHoroshih commented 2 years ago

Hello!

Could you add a bit more details? Which browsers you target, how your project is built?

sergeysova commented 2 years ago

I recommend to transpile your node_modules for target browsers.

Because optional chaining is enabled for two years already:

image
KlonD90 commented 1 year ago

@sergeysova please compile by yoursefl it's or provide another entrypoint will be nice for me