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

Terminal logs out large amount of infos After switching to unplugin-auto-import from vue-global-api #9

Closed
byoungd opened this issue Aug 25, 2021 · 3 comments

Comments

@byoungd
Copy link

byoungd commented Aug 25, 2021

Sourcemap for "/Users/han/Dev/fb-desktop-ssr/components/fb-chat/components/module-content/src/list-item.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/components/fb-chat/components/module-content/src/detail/book-volumn-docs/doc-list.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/pages/agreement/components/commonAside.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/pages/agreement/components/commonHead.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/components/fb-cropper/index.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/pages/search/components/list/sort-item.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/pages/search/components/skeletonItem.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/pages/search/components/list/common-filter.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/pages/search/components/list/batch-download.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/components/fb-chat/components/module-content/src/type-tag.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/pages/search/components/list/search-result.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/pages/search/components/list/judgement-list-item.vue" points to missing source files
Sourcemap for "/Users/han/Dev/fb-desktop-ssr/pages/search/components/list/number-checkbox.vue" points to missing source files
...and much more

Is it releated to unplugin-auto-import or unplugin-vue2-script-setup?
I am not quite sure what all these logs means but I know these components are vue2 legacy version(by Options API and without TS definition or defineComponent).

Thanks for reply.

@antfu
Copy link
Member

antfu commented Aug 25, 2021

Can you share a minimal reproduction? Thanks.

@byoungd
Copy link
Author

byoungd commented Aug 25, 2021

Can you share a minimal reproduction? Thanks.

Just wait a minute I am on it. Thanks!

@byoungd
Copy link
Author

byoungd commented Aug 25, 2021

Can you share a minimal reproduction? Thanks.

https://github.com/byoungd/vite-vue2-typescript/tree/test this repo can reproduce the problem and the legacy component is at src/components/test.vue

And the log info is:

Sourcemap for "/Users/han/Dev/vite-vue2-typescript/src/components/test.vue" points to missing source files

@antfu antfu closed this as completed in a941fd0 Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants