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
import { defineConfig, loadEnv } from 'vite'
export default defineConfig(({ command, mode }) => {
// Load env file based on `mode` in the current working directory.
// Set the third parameter to '' to load all env regardless of the `VITE_` prefix.
const env = loadEnv(mode, process.cwd(), '')
return {
// vite config
define: {
__APP_ENV__: JSON.stringify(env.APP_ENV),
},
}
})
I want to copy a single line of code const env = loadEnv(mode, process.cwd(), '') and as soon as I start copying this line, all the lines are selected.
The text was updated successfully, but these errors were encountered:
firefox
Documentation is
Explain in Detail
I want to copy a single line of code, and as soon as I start copying this line, all the lines are selected.
Your Suggestion for Changes
A single line can be copied normally.
Reproduction
https://vite.dev/config/
Steps to reproduce
const env = loadEnv(mode, process.cwd(), '')
I want to copy a single line of code
const env = loadEnv(mode, process.cwd(), '')
and as soon as I start copying this line, all the lines are selected.The text was updated successfully, but these errors were encountered: