mirror of
https://github.com/RetroShare/RSNewWebUI.git
synced 2026-09-13 18:45:49 +05:00
build.ps1 (and the matching hunk of build.sh, dropped while rebasing)
worked around the broken stylesheet by concatenating raw .scss sources onto
the end of the generated styles.css:
$extraCss += Get-Content "$src\app\scss\pages\_board.scss"
That ships SCSS to the browser. Nesting, `&`, `@use` and variables are not
CSS, so everything after the first nested block is dropped by the parser,
which made the result look randomly broken and fed the same manual fixing
loop.
With the missing brace fixed in the previous commit, `sass` compiles the
whole tree again and the workaround has nothing left to work around.
build.ps1 was also unreachable: make-src/build.js dispatches win32 to
build.bat, never to a PowerShell script.
|
||
|---|---|---|
| .. | ||
| .prettierignore | ||
| build.bat | ||
| build.js | ||
| build.sh | ||
| init.bat | ||
| init.sh | ||
| README.md | ||
| template.js | ||
This folder contains files needed to create webfiles at compile-time and qmake
- init.sh creates dummy files at qmake
- build.sh creates files at compile time
- template.js start of compiled app.js, containing additional created content