only generate source maps in debug mode

This commit is contained in:
Shish 2023-08-18 15:53:22 +01:00 committed by Shish
parent 74037d9d0a
commit 5ef00eb37c

View file

@ -404,7 +404,7 @@ class BasePage
'compress' => true,
'convert_color' => 'hex',
'css_level' => 3,
'sourcemap' => true,
'sourcemap' => DEBUG,
'allow_duplicate_declarations' => false,
'legacy_rendering' => true, // turn nested CSS into regular
]);