Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 753 Bytes

2023-03-06-fix-theme-assets.md

File metadata and controls

11 lines (11 loc) · 753 Bytes
title issue
Fix theme assets
NEXT-25650

Storefront

  • Changed storing of theme assets, so they are separated from the compiled js and css files to prevent file duplication for every theme compilation

Upgrade information

Theme assets are now stored separately from the compiled js and css files

The theme assets are now stored in a separate folder, prefixed with the theme-id. They are no longer stored along the compiled js and css files, which means that the assets are not duplicated for every theme compilation. The $app-css-relative-asset-path sccs variable was adapted accordingly to point to the new location of the assets, so if you rely on that variable to get the path to your assets, you don't need to change anything.