Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic Importing SCSS files ( +.SCSS ) been resetting after restart server #46

Open
SheikhRashed opened this issue Apr 12, 2024 · 0 comments

Comments

@SheikhRashed
Copy link

I am running into a very annoying problem with automatic imports. It is a very good feature no doubt. But some things can be very annoying. I am trying to mention something in this…

  1. When it's importing other files + .scss file it's importing according to the file order number of that folder, showing that the file that should be in the top order is going down. By doing this, while scss is being compiled, it is giving an error, getting missing because there are some variables/functions inside that file which it is not getting in the above order.

  2. If the file order is fixed manually then when the server is restarted it fires back to its previous state.

I am very new to Vite js and trying to learn. If there is any way to control this default usage please let me know how I can do it.

Folder Structure

image

Before Restarting Server

image

After Restarting Server

image

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

No branches or pull requests

1 participant