Skip to content

[WARN] Vite warning: unused imports from "@astrojs/internal-helpers/remote #15957

@xingwangzhe

Description

@xingwangzhe

Astro Info

Astro                    v6.0.5
Node                     v24.14.0
System                   Linux (x64)
Package Manager          bun
Output                   static
Adapter                  none
Integrations             pagefind
                         @astrojs/sitemap
                         astro-expressive-code

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

when bun run build

19:40:19 [WARN] [vite] "matchHostname", "matchPathname", "matchPort" and "matchProtocol" are imported from external module "@astrojs/internal-helpers/remote" but never used in "node_modules/astro/dist/assets/utils/index.js".

What's the expected result?

no [WARN]

Link to Minimal Reproducible Example

https://github.com/xingwangzhe/stalux.git

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

Labels

- P3: minor bugAn edge case that only affects very specific usage (priority)pkg: astroRelated to the core `astro` package (scope)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions