bigcommerce / stencil-cli

BigCommerce Stencil emulator for local theme development
https://developer.bigcommerce.com/stencil-docs
BSD 4-Clause "Original" or "Old" License
102 stars 141 forks source link

images (svg and png) get 404 after stencil push or stencil bundle #1127

Open mrcnee93 opened 1 year ago

mrcnee93 commented 1 year ago

Expected behavior

seeing my images correctly in production

Actual behavior

i only see my images while working locally and get 404 online

Steps to reproduce behavior

add some images to the assets/icons folder inside a subfolder named "png"

Environment

Stencil-cli version stencil --version: 7.2.0

Node version node -v: v16.20.1

NPM version npm -v: 8.19.4

OS: Mac OS Monterey v. 12.6.7