Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 567 Bytes

2022-06-23-fix-scssphp-deprecation.md

File metadata and controls

10 lines (10 loc) · 567 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Fix scssphp deprecation
issue: NEXT-19429
author: Tobias Berge
author_email: [email protected]
author_github: @tobiasberge
---

Storefront

  • Changed Resources/app/storefront/src/scss/vendor/_datepicker.scss and removed .css extension from @import "~vendor/flatpickr/dist/flatpickr.min". Importing CSS with explicit file extension is deprecated and will not be supported anymore in ScssPhp 2.0.
  • Changed \Shopware\Storefront\Theme\ThemeCompiler::compileStyles in order to interpret ~vendor-alias imports which use the .min extension as CSS