Skip to content

vite 5.0.2 打包config文件被移除 #7132

@mokurofuzo

Description

@mokurofuzo
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.0.7

Environment

vue3.3.8 vite5.0.2

Reproduction link

http://localhost

Steps to reproduce

npm run build

What is expected?

正常打包

What is actually happening?

打包过程中出现js文件被移除

vite v5.0.2 building for production...
node_modules/ant-design-vue/es/_util/hooks/_vueuse/_configurable.js (2:29) A comment

"/* #PURE */"

in "node_modules/ant-design-vue/es/_util/hooks/_vueuse/_configurable.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.
node_modules/ant-design-vue/es/_util/hooks/_vueuse/_configurable.js (3:31) A comment

"/* #PURE */"

in "node_modules/ant-design-vue/es/_util/hooks/_vueuse/_configurable.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.
node_modules/ant-design-vue/es/_util/hooks/_vueuse/_configurable.js (4:32) A comment

"/* #PURE */"

in "node_modules/ant-design-vue/es/_util/hooks/_vueuse/_configurable.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.
node_modules/ant-design-vue/es/_util/hooks/_vueuse/_configurable.js (5:31) A comment

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions