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

router.js - Updating require path for buildModule #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jtabalujan2
Copy link

@jtabalujan2 jtabalujan2 commented Nov 7, 2020

  • Updated conf require statement to handle both ES6 (export default) and CommonJS (module.exports)

Removing .default since the path does not exist within nuxt config
Added optional chaining to let it load as an undefined
@jtabalujan2
Copy link
Author

@madhusudanbabar could you merge this?

@madhusudanbabar
Copy link
Owner

Yes, I was waiting for the some other changes but will merge this one and optional chaining for the paths and release an update

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.

2 participants