-
Notifications
You must be signed in to change notification settings - Fork 363
Assets aren't copied with build (1.x) #407
Comments
Very true! Looks like we're only copying over |
Okay needed to validate a few things before I responded to this. Copying static files from
|
Closing this in preference of the two issues I made above. Feel free to continue the conversation here if need be. |
assert_url -> asset_url? |
@schellenbergk yes! Sorry typo :) |
@t-kelly I see this is closed but I think further clarification is needed in the README regarding images. When using
The result while in dev adds the cdn path and adds the full path of the local image including the local domain:
Makes sense since what is being parsed out by webpack results in the following:
if this is whats intended, I might just not be getting it. Would be totally natural for webpack to instead strip the liquid tags completely and instead include only the src url since Note, when building, it seems to work fine though and it includes the striped out version of the liquid tag without a relative path. |
@el-rotny can you please create a new issue for this, since it is unrelated to the title of this issue. Thanks. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Problem
Assets in the
src/assets/images
(svg, and any custom dir) do not copy over todist/assets
onyarn build
Replication steps
Put any files in the directories mentioned above, run
yarn build
. Assets will not be indist
The text was updated successfully, but these errors were encountered: