Meteor had the import style syntax, even though it wasn't ESM as its default means of importing from the start. So when I moved the site over to off of Meteor, I moved it first to just a straight up VIT server with react. And that was the ESM base. Now with Svelte and whatever, when I rewrote my API using ES build, I wrote it with ESM from the beginning. It's kind of complicated. You hit, there's a whole bunch of gotchas in the differences between the two. There's lots of different file extensions and whatnot. On top of that, we're not going to talk too much about Type
In this episode of Syntax, Wes and Scott talk through what ESM is, and why you want to move your projects to ESM.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
Tweet us your tasty treats