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

Only open file if it's a full path #714

Merged
merged 1 commit into from
Jul 31, 2018

Conversation

chrisvfritz
Copy link
Contributor

Precompiled 3rd party components still need to define a name on components, because the __file property is not currently added in production. For privacy and practical reasons, we never want to add the full path to __file in production, but we want to start adding setting the file's basename in vue-loader and rollup-plugin-vue.

For this to work though, we'll want to start checking whether __file is a path here and only allow it to be opened if it is.

@chrisvfritz
Copy link
Contributor Author

@Akryum What do you think?

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.

None yet

2 participants