You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
Hello @lixin0. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 3 days.
Describe the bug
When I load a file after compression, the following error is reported.
scr/config/generate.min.js
import LibGenerateTestUserSig from './generate.min.js'
[vite] Internal server error: $ can only be used as the initializer of a variable declaration
Reproduction
Compile phase errors
System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: