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

Module does not work with third-party Webpack builder #494

Closed
farnabaz opened this issue May 31, 2021 · 0 comments · Fixed by #495
Closed

Module does not work with third-party Webpack builder #494

farnabaz opened this issue May 31, 2021 · 0 comments · Fixed by #495
Assignees
Labels
bug Something isn't working

Comments

@farnabaz
Copy link
Member

🐛 The bug
Composition API does not register then Nuxt Webpack builder is disable.
Nuxt Storybook

🛠️ To reproduce

git clone https://github.com/norioxkimura/nuxt-storybook-bug-20210529
cd nuxt-storybook-bug-20210529
cd 0.24-ng
npm ci
npm run storybook

Originally reported in: nuxt-modules/storybook#276

ℹ️ Additional context
In v0.24.0 auto-registering is disabled, Instead module adds an entry to Webpack app using build:compile hook.
Is there any specific reason to use build:compile? https://github.com/nuxt-community/composition-api/blob/main/src/module/index.ts#L43-L46

This issue could be fix if the modules uses webpack:config hook instead of build:compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants