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

Paths of imported assets are incorrect #2769

Closed
jonlambert opened this issue Mar 11, 2019 · 2 comments
Closed

Paths of imported assets are incorrect #2769

jonlambert opened this issue Mar 11, 2019 · 2 comments
Labels

Comments

@jonlambert
Copy link

🐛 bug report

🎛 Configuration (.babelrc, package.json, cli command)

Very basic - https://github.com/jonlambert/parcel-path-issue/blob/master/packages/book/package.json

Babel is default.

🤔 Expected Behavior

External assets should load with the correct paths.

😯 Current Behavior

All required paths are incorrectly prefixed with the book/ subdirectory.

💁 Possible Solution

🔦 Context

I'm trying to load an SVG file, or font, or image into my project.

💻 Code Sample

Reproduction here:
https://github.com/jonlambert/parcel-path-issue

🌍 Your Environment

Software Version(s)
Parcel 1.12.0
Node v10.7.0
npm/Yarn 1.13.0
Operating System macOS 10.13.6
@jonlambert
Copy link
Author

Possible duplication of #2736

@mischnic
Copy link
Member

mischnic commented Mar 12, 2019

Possible duplicate

Indeed (and fixed now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants