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

Fix esm exports in next-plugin #39

Closed
Zn4rK opened this issue Feb 12, 2024 · 0 comments · Fixed by #41
Closed

Fix esm exports in next-plugin #39

Zn4rK opened this issue Feb 12, 2024 · 0 comments · Fixed by #41
Labels
good first issue Good for newcomers help wanted Extra attention is needed next.js

Comments

@Zn4rK
Copy link
Contributor

Zn4rK commented Feb 12, 2024

Next.js has changed their default config file name to next.config.mjs.

When running with import createNavitaStylePlugin from '@navita/next-plugin', we get a runtime error saying that the MiniCssExtractPlugin can't be found. Probably just needs the file extension.

@Zn4rK Zn4rK added good first issue Good for newcomers help wanted Extra attention is needed next.js labels Feb 12, 2024
@Zn4rK Zn4rK mentioned this issue Apr 8, 2024
@Zn4rK Zn4rK closed this as completed in #41 Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed next.js
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant