remix-sitemap
remix-sitemap copied to clipboard
ESM Support
I have found that you are using https://www.npmjs.com/package/require-from-string which is very old and does not properly support ESM.
One of my routes uses an ESM library I have written and this chokes the require-from-string -> esbuild processing with the usual cannot import ESM from CJS.
This is going to force me to try a runtime-based processing.
Kudos!
probably need replace with https://github.com/exuanbo/module-from-string
Blocked by this as well