title | issue | author | author_email | author_github |
---|---|---|---|---|
Ignore JS script files if they do not match the new file path pattern |
NEXT-33857 |
Björn Meyer |
BrocksiNet |
- Added condition to ignore JS script files if they do not match the new file path pattern (see).
Example for a Theme called MyOldTheme (theme.json):
...
"script": [
"@Storefront",
"@AnotherTheme",
"app/storefront/dist/storefront/js/my-old-theme.js", // This file will be ignored (structure before 6.6)
"app/storefront/dist/storefront/js/my-old-theme/my-old-theme.js", // This file will be used (new structure)
],
...
Without this change, the storefront would display an error with a non-updated theme.json.