Closed jasongwartz closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
webroute | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 9, 2024 1:28pm |
Great catch Jason. Thanks.
I should add more tests for different environments, runtimes, etc. at some point
Hey @jasongwartz apologies for not publishing at time of merging this. I've published a new @webroute/route
package now with these, and few other minor changes. So if you were prevented due to the commonjs issue you should be clear now.
Please let me know if the issue still isn't resolved.
This fixes error
SyntaxError: Cannot use import statement outside a module
when trying to use @webroute/route in a CommonJS context.I didn't check to see if this affects other packages in the repo as well.