When I write the require code in the .vue file, it prompts that require is not defined.
The following location was traced in the source code:


In vite, the extensions parameter is not usually set, and the default value does not include .vue files
Is this a bug or a behavior that suits expectations?