How can I use an asset_url filter in my webpack bundle?
When I try something like
“{{ ‘foo.hdr’ | asset_url }}”
it returns 404.
How can I use an asset_url filter in my webpack bundle?
When I try something like
“{{ ‘foo.hdr’ | asset_url }}”
it returns 404.
bump.
the slow workaround is that I console log all my assets then go back and hard code them.
is there a better way you know of?
asking for help has a funny way of solving the problem.
I simply assigned the asset_url tag to a variable, and called the variable in my webpack script.