make source maps better upstream

This commit is contained in:
Shish 2023-08-18 16:29:59 +01:00 committed by Shish
parent 5ef00eb37c
commit ecd7ec5b6b
3 changed files with 10 additions and 9 deletions

View file

@ -56,7 +56,7 @@
"psr/simple-cache" : "^1.0",
"sabre/cache" : "^2.0.1",
"naroga/redis-cache": "dev-master",
"tbela99/css": "dev-relative-url"
"tbela99/css": "dev-master"
},
"require-dev" : {

15
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "54f37280f2cb7439ab7715d0827ad49d",
"content-hash": "88e93ac9426438e6dc11301eb9faeed1",
"packages": [
{
"name": "axy/backtrace",
@ -1039,16 +1039,16 @@
},
{
"name": "tbela99/css",
"version": "dev-relative-url",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/shish/php-css.git",
"reference": "60ea6f7190782752b18ee646d06097fb666c1213"
"reference": "d851161c33bcd8b3809d16c08c285f27123c79b6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/shish/php-css/zipball/60ea6f7190782752b18ee646d06097fb666c1213",
"reference": "60ea6f7190782752b18ee646d06097fb666c1213",
"url": "https://api.github.com/repos/shish/php-css/zipball/d851161c33bcd8b3809d16c08c285f27123c79b6",
"reference": "d851161c33bcd8b3809d16c08c285f27123c79b6",
"shasum": ""
},
"require": {
@ -1066,6 +1066,7 @@
"ext-pcntl": "*",
"ext-sockets": "*"
},
"default-branch": true,
"bin": [
"cli/css-parser"
],
@ -1114,9 +1115,9 @@
"stylesheet"
],
"support": {
"source": "https://github.com/shish/php-css/tree/relative-url"
"source": "https://github.com/shish/php-css/tree/master"
},
"time": "2023-08-18T14:13:00+00:00"
"time": "2023-08-18T15:28:52+00:00"
},
{
"name": "webonyx/graphql-php",

View file

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