/sveltekit2-preprocess-dependency-issue

A minimal reproduction of SvelteKit v2's SCSS preprocess dependency issue

Primary LanguageJavaScript

About

This repo contains a minimal reproduction of SvelteKit v2's SCSS preprocess dependency issue.

How to reporduce

# install all dependencies
npm i

# run local dev server
npm run dev

The following message should show up in your terminal:

[vite-plugin-svelte] root_directory/src/routes/+page.svelte svelte.preprocess returned this file as a dependency of itself. This can be caused by an invalid configuration or importing generated code that depends on .svelte files (eg. tailwind base css)