-
Notifications
You must be signed in to change notification settings - Fork 857
Open
Description
s in #1789 I'm updating all implementations. Implementations that failed to update are moved in to the broken-frameworks folder.
Here's what I'm trying to update:
- "maverick.js": "0.23.1"
+ "maverick.js": "0.43.2"
- "@maverick-js/compiler": "0.23.1",
+ "@maverick-js/compiler": "0.37.0",
The build fails with the following error:
running 'npm run build-prod' in 'frameworks/keyed/maverick'
> [email protected] build-prod
> node build.js
/home/stefan/js-framework-benchmark/frameworks/keyed/maverick/build.js:1
const { esbuild: maverick } = require("@maverick-js/compiler");
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/stefan/js-framework-benchmark/frameworks/keyed/maverick/node_modules/@maverick-js/compiler/dist/index.js from /home/stefan/js-framework-benchmark/frameworks/keyed/maverick/build.js not supported.
Instead change the require of index.js in /home/stefan/js-framework-benchmark/frameworks/keyed/maverick/build.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/stefan/js-framework-benchmark/frameworks/keyed/maverick/build.js:1:31) {
code: 'ERR_REQUIRE_ESM'
}
@mihar-22 Can you take a look at this?
Metadata
Metadata
Assignees
Labels
No labels