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

Docz external resolve fix #830

Merged
merged 3 commits into from
May 1, 2019
Merged

Conversation

ejuo
Copy link
Contributor

@ejuo ejuo commented Apr 24, 2019

Fix for #783

@ejuo ejuo mentioned this pull request Apr 24, 2019
@pedronauck
Copy link
Member

pedronauck commented Apr 24, 2019

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') &&
Copy link
Member

Choose a reason for hiding this comment

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

And about this?

@ejuo
Copy link
Contributor Author

ejuo commented Apr 24, 2019

Can you explain to me how this could improve or what this changes? Because all dependencies and external are already not bundled.

This is an alternative (cross-platform) solution for searching external dependencies. Do you think the expression like !id.startsWith ('.') is safe?

@pedronauck
Copy link
Member

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.

@pedronauck pedronauck merged commit 63395fd into doczjs:dev May 1, 2019
@ejuo ejuo mentioned this pull request May 6, 2019
@patricksevat patricksevat mentioned this pull request May 13, 2019
5 tasks
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