vueuse / vueuse

Collection of essential Vue Composition Utilities for Vue 2 and 3

Home Page:https://vueuse.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warning after vite build about __PURE__

gaokun opened this issue · comments

commented

Describe the bug

warning after vite build:

node_modules/.pnpm/ant-design-vue@3.2.17_vue@3.4.21/node_modules/ant-design-vue/es/_util/hooks/_vueuse/_configurable.js (2:27) A comment

"/* #__PURE__ */"

in "node_modules/.pnpm/ant-design-vue@3.2.17_vue@3.4.21/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/.pnpm/ant-design-vue@3.2.17_vue@3.4.21/node_modules/ant-design-vue/es/_util/hooks/_vueuse/_configurable.js (3:29) A comment

"/* #__PURE__ */"

in "node_modules/.pnpm/ant-design-vue@3.2.17_vue@3.4.21/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/.pnpm/ant-design-vue@3.2.17_vue@3.4.21/node_modules/ant-design-vue/es/_util/hooks/_vueuse/_configurable.js (4:30) A comment

"/* #__PURE__ */"

in "node_modules/.pnpm/ant-design-vue@3.2.17_vue@3.4.21/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/.pnpm/ant-design-vue@3.2.17_vue@3.4.21/node_modules/ant-design-vue/es/_util/hooks/_vueuse/_configurable.js (5:29) A comment

"/* #__PURE__ */"

in "node_modules/.pnpm/ant-design-vue@3.2.17_vue@3.4.21/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/.pnpm/ant-design-vue@3.2.17_vue@3.4.21/node_modules/ant-design-vue/es/_util/hooks/_vueuse/is.js (47:19) A comment

"/* #__PURE__ */"

in "node_modules/.pnpm/ant-design-vue@3.2.17_vue@3.4.21/node_modules/ant-design-vue/es/_util/hooks/_vueuse/is.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.

Refer

here is a related issue in vue-i18n-next, link

Reproduction

none

System Info

System:
    OS: macOS 14.2.1
    CPU: (12) arm64 Apple M2 Pro
    Memory: 75.80 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node
    npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm
    pnpm: 8.14.1 - ~/.nvm/versions/node/v18.15.0/bin/pnpm
  Browsers:
    Chrome: 122.0.6261.112
    Safari: 17.2.1
  npmPackages:
    vue: ^3.4.21 => 3.4.21

Used Package Manager

pnpm

Validations