Issue with SCSS with Vite 4
# pages-help
t
Page:
noximityweb.pages.dev
Account ID:
b068e1072ce66279dd2a98699d3ab816
Log:
Copy code
Cloning repository...
From https://github.com/NoximityMC/NoximityWeb
 * branch            dba2ef8dd157da87b84d1d49ddc3537705c57d4d -> FETCH_HEAD

HEAD is now at dba2ef8 Initial commit


Success: Finished cloning repository files
Installing nodejs 18.16.0
nodejs 18.16.0 is already installed
Installing project dependencies: npm clean-install --progress=false

added 364 packages, and audited 365 packages in 6s

41 packages are looking for funding
  run `npm fund` for details
08:55:50.261    
08:55:50.261    found 0 vulnerabilities
Executing user command: npm run build

> base@0.0.0 build
> tsc && vite build

vite v4.3.5 building for production...
transforming...
✓ 25 modules transformed.
✓ built in 750ms
Could not resolve "../style/Navbar.scss" from "src/components/Navbar.tsx"
file: /opt/buildhome/repo/src/components/Navbar.tsx
error during build:
RollupError: Could not resolve "../style/Navbar.scss" from "src/components/Navbar.tsx"
    at error (file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:2125:30)
    at ModuleLoader.handleInvalidResolvedId (file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:23938:24)
    at file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:23900:26
Failed: Error while executing user command. Exited with error code: 1
Failed: build command exited with code: 1
Failed: error occurred while running build command