Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-11-13 | feat(node): stabilize detecting if CJS via `"type": "commonjs"` in a ↵ | David Sherret | |
package.json (#26439) This will respect `"type": "commonjs"` in a package.json to determine if `.js`/`.jsx`/`.ts`/.tsx` files are CJS or ESM. If the file is found to be ESM it will be loaded as ESM though. | |||
2024-11-01 | fix: improved support for cjs and cts modules (#26558) | David Sherret | |
* cts support * better cjs/cts type checking * deno compile cjs/cts support * More efficient detect cjs (going towards stabilization) * Determination of whether .js, .ts, .jsx, or .tsx is cjs or esm is only done after loading * Support `import x = require(...);` Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2024-09-28 | refactor: extract out sloppy imports resolution from CLI crate (#25920) | David Sherret | |
This is slow progress towards creating a `deno_resolver` crate. Waiting on: * https://github.com/denoland/deno/pull/25918 * https://github.com/denoland/deno/pull/25916 |