Conversation
|
pkg.pr.new packages benchmark commit |
📊 Bundle Size Comparison
👀 Notable resultsStatic test results:No major changes. Dynamic test results:No major changes. 📋 All resultsClick to reveal the results table (344 entries).
If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu. |
There was a problem hiding this comment.
Pull request overview
This PR adds "type": "module" to the root package.json to improve linting performance with oxlint. The change helps oxlint recognize that configuration files should be loaded as ES modules on the first attempt, avoiding unnecessary CommonJS parsing retries.
Changes:
- Added
"type": "module"field to root package.json to indicate ES module usage
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
75ae0ba to
94e9ca5
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
94e9ca5 to
289be53
Compare
289be53 to
918f605
Compare
oxlintfirst tries to ingest the config as a CommonJS module, but since it's actually ESM, it has to retry. By adding"type": "module"to the root package.json, oxlint knows what to do on the first try.