Skip to content

0.2.0 — plain Symfony bundle

Choose a tag to compare

@shyim shyim released this 30 Jul 20:15
0.2.0
d3c4cd8

Compiles the Shopware storefront theme SCSS with sasso instead of scssphp — roughly 10x faster (1.145s → 0.116s on the default Storefront theme).

Changed

Now a plain Symfony bundle instead of a Shopware plugin. No install/activate step and no database record:

composer require shyim/sasso-shopware-compiler
// config/bundles.php
Shyim\SassoCompiler\ShyimSassoCompiler::class => ['all' => true],

Position in config/bundles.php does not matter — service decoration resolves after every bundle has registered. This also works on setups where plugin management is locked down.

Also: shopware/core dropped as a dependency (only shopware/storefront provides the decorated class), and shyim/sasso-ffi pinned to ^0.1.

Breaking

If you are running 0.1.0 as a Shopware plugin, uninstall it before upgrading. Once the class no longer extends Plugin, Shopware's plugin loader rejects every console command — including plugin:uninstall — so a leftover plugin row must be deleted manually:

DELETE FROM plugin WHERE name = 'ShyimSassoCompiler';