Closed chientrm closed 1 year ago
Hey there! Could I see your package.json (or ideally, the whole repo)? Also what version of wrangler are you on? Mine doesn't even have the --remote flag...
Also a note, since I see the stack includes ThrowableRouter
and itty-router-extras
(which is now deprecated) in general, I'd recommend using the extras now in v4.x (see https://itty.dev/itty-router/migration-guide).
In the meantime, I've rolled out a reversal in 4.0.11
, that for me at least... works in esm/module land, require/cjs land, etc.
@chientrm could you try itty-router@next
and let me know if that works?
I've been running into similar issues with some configs in some projects... I'm attempting to revert to straight CJS for now (similar to v3.x), with an optional .mjs
format for ES consumers.
@chientrm could you try
itty-router@next
and let me know if that works?
Works as intended 💋
Yes! The change has been merged in and is live as 4.0.12
now :)
Everything works fine with
4.0.9