You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously only the 5 .cjs.js outputs were tested in Node.js.
* Rename .es.js to .es.mjs output, because otherwise `node --import=`
will reject it. The rejection error suggest placing `{ type: 'module' }`
in package.json, but we can't given the Webpack caveat (see build.mjs).
* Use readdirSync(), since 29 is too many to hardcode.
We have to know the list of test cases at the top-level,
thus run readdirSync() top-level,
thus run build.mjs before it, which is ESM and async,
thus to import and await it, the test file has to be an ESM file,
convert to demos/bundlers.mjs accordingly.
0 commit comments