Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sourcemaps broken in latest v1.6.0 #42

Open
danspam opened this issue Aug 7, 2024 · 1 comment
Open

Sourcemaps broken in latest v1.6.0 #42

danspam opened this issue Aug 7, 2024 · 1 comment

Comments

@danspam
Copy link

danspam commented Aug 7, 2024

The latest version of this plugin no longer allow sourcemaps to be generated correctly. According to the docs, in clean-css v4.0 and above they changed the api for using sourcemaps and passing the sourcemaps into the options as this plugin does no longer works.

If I understand correctly the sourcemaps need to be passed as a paramater into the minify() method instead. See docs.

return42 added a commit to return42/searxng that referenced this issue Jan 20, 2025
The ``less-plugin-clean-css`` lacks some maintenance: the sourcemaps are broken
since v1.6.0 (08/2024) [1]

- [1] less/less-plugin-clean-css#42

Closes: searxng#4143

Signed-off-by: Markus Heiser <[email protected]>
return42 added a commit to return42/searxng that referenced this issue Jan 20, 2025
The ``less-plugin-clean-css`` lacks some maintenance: the sourcemaps are broken
since v1.6.0 (08/2024) [1]

- [1] less/less-plugin-clean-css#42

Closes: searxng#4143

Signed-off-by: Markus Heiser <[email protected]>
@return42
Copy link

@matthew-dean @derTobsch: can you have a look at this issue? .. Sourecmaps are broken since major update of from clean-css v4.2.1 (2018) to v5.3.2 (2023)

return42 added a commit to searxng/searxng that referenced this issue Jan 20, 2025
The ``less-plugin-clean-css`` lacks some maintenance: the sourcemaps are broken
since v1.6.0 (08/2024) [1]

- [1] less/less-plugin-clean-css#42

Closes: #4143

Signed-off-by: Markus Heiser <[email protected]>
Denperidge pushed a commit to Denperidge/contrib-searxng that referenced this issue Jan 20, 2025
The ``less-plugin-clean-css`` lacks some maintenance: the sourcemaps are broken
since v1.6.0 (08/2024) [1]

- [1] less/less-plugin-clean-css#42

Closes: searxng#4143

Signed-off-by: Markus Heiser <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants