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

feat(nuxt-module)!: extend nuxt config #1428

Merged
merged 4 commits into from
Apr 15, 2021

Conversation

patzick
Copy link
Collaborator

@patzick patzick commented Apr 14, 2021

@patzick patzick requested a review from mkucmus April 14, 2021 16:59
@vercel
Copy link

vercel bot commented Apr 14, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/shopware-pwa/shopware-pwa-docs/AFdCnGvGRi9gpYhGyRGBwfVpfeMJ
✅ Preview: https://shopware-pwa-d-git-featnuxt-module-extend-nuxt-config-sh-812515.vercel.app

const configs = [defaultConfig];
export function extendNuxtConfig(config) {
configs.push(config);
return configs.reduce((prev, next) => mergeWith(prev, next, customizer));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's the trick <3

Copy link
Collaborator

@mkucmus mkucmus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

another cool thing!

@vercel vercel bot temporarily deployed to preview April 15, 2021 08:37 Inactive
@patzick patzick merged commit 381a32a into master Apr 15, 2021
@patzick patzick deleted the feat(nuxt-module)!--extend-nuxt-config branch April 15, 2021 08:45
patzick added a commit that referenced this pull request Apr 16, 2021
patzick added a commit that referenced this pull request Apr 16, 2021
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 this pull request may close these issues.

[FEATURE] Extensible nuxt config from nuxt-module
2 participants