-
Currently @azure/functions only provides a CommonJS module. Due to limitation in Node/Webpack's ESM interop, this makes it impossible to import most named exports from an ESM package. This means that …
-
https://babeljs.io/docs/babel-plugin-transform-modules-commonjs
For Rolldown app mode, we need to custom runtime to execute module.
-
More and more npm packages are shipping as ESM. In node, the compatibility between ESM and CommonJS has some limitation:
- an ES module can import a CommonJS module
- an ES module can dynamically …
-
ECMAScript Modules (aka "ES6 Modules" or "ESM") is a module system that natively works in most browsers. Newer versions of Node.js also natively support it. The USWDS javascript code should switch fro…
-
I created a fresh Nuxt project using bun and installed PWA. When I run the application via `npm run dev`, I get the following error:
```
ERROR Named export 'defu' not found. The requested module…
-
Hi,
I'm trying to switch a project to `"type": "module"`, so I converted my `webpack.config.js` to include the following import:
```js
import { SubresourceIntegrityPlugin } from "webpack-subresou…
-
### What problem does this feature solve?
Rolldown's current internal implementation of `@rollup/plugin-commonjs` is seemingly missing the feature of transforming CJS `require` calls into ESM imports…
-
Feature Request: Dynamic Import Support in WXT for ES Modules
Is your feature request related to a bug?
Yes, the issue occurs when building a Chrome MV2 extension using WXT 0.19.9 and Vite 5.4.4. Th…
-
[vite] Named export 'InlineGrid' not found. The requested module '@shopify/polaris' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imp…
-
## Expected Behavior
Normal flow, performing traces and regular behavior.
## Actual Behavior
Throws error, before running lambda code. "Class extends value undefined is not a constructor or null"…