benjaminkott / benjaminkott/bootstrap_package

CSS map (cssSourceMapping) not working correctly

Open
#1,474 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

# Bug Report

## Prerequisites

* [ ] Can you reproduce the problem on TYPO3 v11.5 LTS
* [x] Can you reproduce the problem on TYPO3 v12.4 LTS
* [x] Did you [perform a cursory search](https://github.com/issues?q=is%3Aissue+user%3Abenjaminkott+repo%3Abenjaminkott%2Fbootstrap_package) to see if your bug or enhancement is already reported?

## Description

Two things about the CSS source map:

1. It's not working correctly, it's showing wrong source files, e.g. for breadcrumb:
![image](https://github.com/benjaminkott/bootstrap_package/assets/2690489/f8199126-6c68-45dc-b185-b1da3294992c)

2. Description is wrong: https://github.com/benjaminkott/bootstrap_package/blob/master/Configuration/TypoScript/constants.typoscript#L317
The CSS compression will NOT be disabled, but you have to disable it yourself in TS constants:

```
config.compressCss = 0
config.concatenateCss = 0
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Configuration/TypoScript/constants.typoscript around line 317 and reproduce the CSS source-map behavior on TYPO3 v12.4. Check the breadcrumb mapping and the description of CSS compression settings; done means the mapped source files are correct and the documentation accurately states the required config.compressCss and config.concatenateCss settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, css
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.