Open pcfreak30 opened 11 months ago
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.
require-from-string
esbuild
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
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!