Skip to content

Rich-Harris/vite-mode-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-mode-repro

git clone git@github.com:Rich-Harris/vite-mode-repro.git
cd vite-mode-repro
npm i
npm test

Expected

mode === custom-config
dev: false (should be false)
prod: true (should be true)

mode === custom-programmatic
dev: false (should be false)
prod: true (should be true)

Actual

mode === custom-config
dev: false (should be false)
prod: true (should be true)

mode === custom-programmatic
-dev: false (should be false)
-prod: true (should be true)
+dev: true (should be false)
+prod: false (should be true)

About

vite-mode-repro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published