-
With native node ESM modules support https://nodejs.org/api/esm.html, node recognizes _haunted_ as `module` during `import`. That causes problem that `haunted` is impossible to be imported via `requir…
-
```
require() of ES Module /home/app/node_modules/.pnpm/promise-duplex@8.0.0/node_modules/promise-duplex/lib/promise-duplex.js from /home/app/node_modules/.pnpm/@u4+adbkit@4.1.20/node_modules/@u4/adb…
-
```
Error [ERR_REQUIRE_ESM]: require() of ES Module /mnt/c/Code/Asuka/node_modules/@hyperjump/json-schema/stable/index.js from /mnt/c/Code/Asuka/src/tests/examples/tempCodeRunnerFile.js not supported…
-
Microbundle creates broken CommonJS code when compiling from Typescript.
The `continue` keyword in the following code is not respected in the compiled CommonJS code.
```ts
async function brok…
-
When trying to import in my typescript file that gets compiled to commonjs:
```js
import Sendblue from "@rileybarabash/sendblue-ts";
```
I get the following error:
`Error [ERR_REQUIRE_ESM]: r…
-
- Rollup Plugin Name: @rollup/plugin-commonjs
- Rollup Plugin Version: latest (^25.0.7)
- Rollup Version: latest (^4.10.0)
- Operating System (or Browser):
- Node Version: 20
- Link to reprod…
-
When a class in Angular app uses types from the library, Angular prints the following warning while executing `ng build`.
![image](https://user-images.githubusercontent.com/13061803/220897586-1b5b4f9…
-
Here is how to do it easily:
https://github.com/umdjs/umd/blob/master/commonjsStrict.js
-
See: https://github.com/Maluen/Backbone-Debugger/issues/36
-
In addition to the amd option it would be great if there was a commonjs option, grunt-contrib-handlebars has this option and has an almost identical API to this.
This will allow the output to be 'req…