Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node_modules/.pnpm/[email protected][email protected]/node_modules/vue-i18n/dist/vue-i18n.runtime.mjs (303:20) A comment "/* #__PURE__*/" in "node_modules/.pnpm/[email protected][email protected]/node_modules/vue-i18n/dist/vue-i18n.runtime.mjs" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. #14716

Closed
7 tasks done
newives opened this issue Oct 21, 2023 · 2 comments

Comments

@newives
Copy link

newives commented Oct 21, 2023

Describe the bug

Packaging error

node_modules/.pnpm/[email protected][email protected]/node_modules/vue-i18n/dist/vue-i18n.runtime.mjs (303:20) A comment

"/* #__PURE__*/"

in "node_modules/.pnpm/[email protected][email protected]/node_modules/vue-i18n/dist/vue-i18n.runtime.mjs" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.

Reproduction

https://stackblitz.com/edit/vitejs-vite-jq7jch?file=src%2Fmain.ts

Steps to reproduce

This error message only appears in vite 5 version
pnpm build
图片

System Info

vite 5
mac
google

Used Package Manager

npm

Logs

No response

Validations

@stackblitz
Copy link

stackblitz bot commented Oct 21, 2023

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@sapphi-red
Copy link
Member

This is a correct warning that should be fixed on the package side.
refs intlify/vue-i18n#1599

@github-actions github-actions bot locked and limited conversation to collaborators Nov 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants