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

Root-relative imports (aka start with a leading '/') are not vulcanized, and there is no warning #1689

Closed
mmocny opened this issue Oct 9, 2014 · 3 comments
Assignees

Comments

@mmocny
Copy link

mmocny commented Oct 9, 2014

I'm not sure if root-relative imports are meant to be inlined, but I was surprised they weren't given that there was no warning.

Issue #6 seems to imply this broke before and was fixed, making me think this is a new regression. (Using 0.4.2)

@mmocny mmocny changed the title Root-relative imports (ala start with a leading '/') are not vulcanized, and there is no warning Root-relative imports (aka start with a leading '/') are not vulcanized, and there is no warning Oct 9, 2014
@dfreedm dfreedm self-assigned this Oct 13, 2014
@dfreedm
Copy link
Member

dfreedm commented Oct 13, 2014

No, it was always the case that root-relative paths were not to be inlined. Vulcanize takes a shortcut and attempts to treat the whole filesystem as a url, so '/foo', would literally mean '/foo' on your disk.

The ability to use root-relative paths will be added with #71 or #36, depending on which one gets merged.

@akashkrishnan
Copy link

Thanks

@dfreedm
Copy link
Member

dfreedm commented Nov 5, 2014

This is now possible with the --abspath flag in 0.5+

@dfreedm dfreedm closed this as completed Nov 5, 2014
@aomarks aomarks transferred this issue from Polymer/polymer-bundler Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants