Skip to content

fix: use explicit file extensions in relative imports - #930

Merged
danielroe merged 1 commit into
mainfrom
fix/jiti
Oct 8, 2026
Merged

danielroe merged 1 commit into
mainfrom
fix/jiti

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

📚 Description

addresses:

[NUXT_B8023] The module `nuxt-fonts-devtools` was loaded through jiti because the runtime could not load it: Directory import 'D:\a\fonts\fonts\src\constants' is not supported resolving ES modules imported from D:\a\fonts\fonts\client\bootstrap.ts
╰▶ fix: Loading it natively is faster, as jiti has to transform the module first. Report it to the module author if the module is not your own.

@pkg-pr-new

pkg-pr-new Bot commented Oct 8, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/fonts@930

commit: 4ed176e

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying fonts with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4ed176e
Status: ✅  Deploy successful!
Preview URL: https://8435138c.fonts-dsw.pages.dev
Branch Preview URL: https://fix-jiti.fonts-dsw.pages.dev

View logs

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.66%. Comparing base (8a6216b) to head (4ed176e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #930      +/-   ##
==========================================
- Coverage   72.51%   71.66%   -0.85%     
==========================================
  Files          15       15              
  Lines         713      713              
  Branches      190      190              
==========================================
- Hits          517      511       -6     
- Misses        165      173       +8     
+ Partials       31       29       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@danielroe
danielroe merged commit 2d86a26 into main Oct 8, 2026
12 of 13 checks passed
@danielroe
danielroe deleted the fix/jiti branch October 8, 2026 08:19
@github-actions github-actions Bot mentioned this pull request Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants