Skip to content

fix: vite build warning#1654

Open
Zamiell wants to merge 1 commit intoraineorshine:mainfrom
Zamiell:fix-vite-warning
Open

fix: vite build warning#1654
Zamiell wants to merge 1 commit intoraineorshine:mainfrom
Zamiell:fix-vite-warning

Conversation

@Zamiell
Copy link
Copy Markdown
Contributor

@Zamiell Zamiell commented Apr 7, 2026

When we run "npm run build", it displays the following warning:

Entry module "src/index.ts" is using named and default exports together. Consumers of your bundle will have to use chunk.default to access the default export, which may not be what you want. Use output.exports: "named" to disable this warning.

This pull request fixes it.

@raineorshine
Copy link
Copy Markdown
Owner

Thank you!

This may be invalidated by #1649, which will be merged soon.

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