Skip to content

Conversation

@bryanpizzillo
Copy link
Member

  • Forced upgrade to vite 6 - things broke
  • Vite 6 requires Node >=19, so I bumped to Node 22.
  • Vite 6 changed the scss API, so you must use loadPaths
    instead of includePaths.

Closes #11

- Forced upgrade to vite 6 - things broke
- Vite 6 requires Node >=19, so I bumped to Node 22.
- Vite 6 changed the scss API, so you must use loadPaths
  instead of includePaths.

Closes #11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR bumps the project dependencies to support Vite 6 and updates the Node version accordingly, addressing compatibility issues introduced by Vite 6. Key changes include switching the SCSS configuration from includePaths to loadPaths, updating the Node and npm engine versions in package.json, and modifying the .nvmrc to reflect the new Node LTS release.

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
vite.config.js Updated SCSS API option (includePaths → loadPaths) and added __dirname logic for ESM compatibility; note an unused destructured import.
package.json Updated Node and npm engine versions along with the Vite dependency bump.
.nvmrc Updated to the new Node LTS release stream.

import path from 'path';

import { fileURLToPath } from 'url';
import { dirname, join } from 'path';
Copy link

Copilot AI Jun 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The imported 'join' is not used in this file; consider removing it to keep the code clean and avoid confusion.

Suggested change
import { dirname, join } from 'path';
import { dirname } from 'path';

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix dependabot issues

3 participants