-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Docz external resolve fix #830
Conversation
Can you explain to me how this could improve or what this changes? Because all dependencies and external are already not bundled. |
!id.startsWith('\0') && | ||
!id.startsWith('.') && | ||
!id.startsWith(process.platform === 'win32' ? process.cwd() : '/') && | ||
!id.startsWith('@components') && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And about this?
This is an alternative (cross-platform) solution for searching external dependencies. Do you think the expression like !id.startsWith ('.') is safe? |
I never have any problem with this, but we can keep both I think, we don't need to remove the default external configuration and the external configuration configured inside the modules, just add this plugin in the default plugins. |
Fix for #783