Skip to content

Custom config: handle default export #828

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

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Custom config: handle default export #828

merged 1 commit into from
Jul 15, 2024

Conversation

shrpne
Copy link
Contributor

@shrpne shrpne commented Jul 15, 2024

It should finally fix #806

Added interop default, because currently importing of custom config with export default is not working properly.

Also reorganized custom config logs a bit:

  • logging "found custom config" only if it really loads
  • otherwise showing error, instead of silently ignoring invalid custom config

@smorimoto smorimoto merged commit 4a97c67 into acacode:main Jul 15, 2024
1 check passed
@smorimoto
Copy link
Collaborator

Thanks!

@xAl3xFx
Copy link

xAl3xFx commented Jul 29, 2024

In order for this to work with windows you need to add "file://" before process.cwd().

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.

Version 13.0.10 doesn't respect onInsertPathParam hook
3 participants