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

Upgrade to latest unplugin #460

Closed
danielroe opened this issue Aug 3, 2022 · 3 comments · Fixed by #462
Closed

Upgrade to latest unplugin #460

danielroe opened this issue Aug 3, 2022 · 3 comments · Fixed by #462
Assignees

Comments

@danielroe
Copy link
Member

Looks like there might be a regression in unplugin.

I'm getting the following error logs when building locally TEST_WITH_WEBPACK=1 yarn nuxi build playground:

ERROR in ./playground/components/FetchTest.vue?vue&type=template&id=7a38cfc8&
Module not found: Error: Can't find options with ident 'nuxt:auto-imports-transform'
 @ ./playground/components/FetchTest.vue?vue&type=template&id=7a38cfc8& 1:0-402 1:0-402
 @ ./playground/components/FetchTest.vue
 @ ./playground/pages/legacy-capi.vue
 @ ./playground/.nuxt/router.js
 @ ./playground/.nuxt/index.js
 @ ./playground/.nuxt/client.js
 @ multi ./node_modules/@nuxt/components/lib/installComponents.js ./playground/.nuxt/client.js

Possibly related: webpack/webpack#8952.

Originally posted by @danielroe in #435 (comment)

@pi0
Copy link
Member

pi0 commented Aug 3, 2022

/cc @antfu

@antfu
Copy link
Member

antfu commented Aug 3, 2022

Also related to webpack/webpack#8406

Seems to be fixed in Webpack 5, I will see what I can workaround it with webpack 4 in unplugin

@antfu
Copy link
Member

antfu commented Aug 3, 2022

I have set up the test against Webpack 4 but does not hit this error:
https://github.com/unjs/unplugin/runs/7659282481?check_suite_focus=true#step:9:39

Might need some help to reproduce it

@antfu antfu mentioned this issue Aug 4, 2022
7 tasks
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 a pull request may close this issue.

3 participants