scss compile

Hello, i donwloaded an website which use following files for styling: main.scss & main.min.css Changes i mke in either of these files aren't reflected on the website for some reason, i already tried compiling it with linux cli tool sass (installed using npm -g sass) this sass tool create a new main.min.css.map and also replace main.min.css yet i still don't notice any change whatsover I thought the issue would be a chancihg problem so i appended parameters to the url to avoid caching, i also purged cloudflare cache for the main.min.css file, both things did not help. anyone here can help me out? Regards, Infinimonster
7 Replies
Kevin Powell
Kevin Powell12mo ago
If you look at the HTML file, what's the <link> for the CSS pointing to?
croganm
croganm12mo ago
^
infinimonster
infinimonster12mo ago
yes, this is how the lik look in index.php:
<link rel="stylesheet" href="<?= getRawLink("/styles/main.min.css") ?>">
<link rel="stylesheet" href="<?= getRawLink("/styles/main.min.css") ?>">
Kevin Powell
Kevin Powell12mo ago
I don't see why it wouldn't work then, if it's looking at the main.min.css. The only thing I can think of is it's compiling it to the wrong place?
infinimonster
infinimonster12mo ago
the main.min.css has the edits included and when i put the htmnl and css on codepen it works corretly too just not on my actual website
Kevin Powell
Kevin Powell12mo ago
The only thing I can think of is there is a src and public folder (these might have different names), and it's compiling it to the source one, and not the one the html file is looking at.
infinimonster
infinimonster12mo ago
i dont have a src nor public folder. i use the paste site from here: https://ripper.lol/post/paste-site-2023-01-21.html
Want results from more Discord servers?
Add your server
More Posts