CodeStitchOfficial / Intermediate-Website-Kit-SASS

The official CodeStitch Intermediate kit, featuring 11ty, Decap CMS and SASS - all set up for you! Perfect for websites of all sizes.
Creative Commons Zero v1.0 Universal
761 stars 201 forks source link

src/assets/css/root.css reverts on build #10

Closed jwhughes-work closed 5 months ago

jwhughes-work commented 5 months ago

Hello

i havent changed the eleventy.js or package.json settings

however when i do: npm run build (like when on netlify) the src/assets/css/root.css is reverted to its original contents, and doesn't include the changes i have made to the css file, therefore on the build the public/assets/css/root.css isnt updated.

i can tell it rolls back as the src/assets/css/root.css shows up in source control changes. ( and is back to its content when git template is downloaded)

Any ideas why this is happening or if i have done something wrong?

many thanks josh

jwhughes-work commented 5 months ago

EDIT: im an idiot forgot was supposed to be editing the SASS files.