-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Imported image paths during development #96
Comments
Also see Lines 140 to 157 in 7b899b3
|
I had the same issue with importing assets (jpg|svg), but after fiddling with the |
Should be fixed by #160. You just need to set |
I think I'm having the same issue using Parcel 1.2.1 development server ( |
Does it build/run correctly? |
It builds but i get ⠧ Building SpaceInvaders.ts...🚨 /Users/nikos/WebstormProjects/youtube-space-invaders/src/SpaceInvaders.ts(14,21)
⠴ Packaging...🚨 /Users/nikos/WebstormProjects/youtube-space-invaders/src/SpaceInvaders.ts(14,21)
✨ Built in 2.81s. the image is never attempted to be loaded at runtime |
@quantuminformation |
I updated parcel, issue went away, but now I get this Server running at http://localhost:1234
|
Again, it this with parcel-plugin-typescript? |
I am having issues with image asset paths during development and production.
During dev, if i do
import logo from './logo.svg
this becomes =>1230981023.png
.During build,
import logo from './logo.svg
this becomes =>/dist/1230981023.png
.This may have to do with a public URL issue during dev but i'm not sure.
The text was updated successfully, but these errors were encountered: