Skip to content

The result resolved by 7.0.0 no longer includes package.json. #481

@Brooooooklyn

Description

@Brooooooklyn

It breaks oxc-node: oxc-project/oxc-node#116

In 6.0.0, the compiled.js was resolved: Resolution { path: "/Users/brooklyn/workspace/github/oxc-node/packages/integrate-module-bundler/src/compiled.js", query: None, fragment: None, package_json: Some("/Users/brooklyn/workspace/github/oxc-node/packages/integrate-module-bundler/package.json") }

In 7.0.0, the result is: Resolution { path: "/Users/brooklyn/workspace/github/oxc-node/packages/integrate-module/src/compiled.js", query: None, fragment: None, package_json: None }

Without a package.json, I can't determine whether a .js file is CommonJS or ESM.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions