Skip to content

Commit 1282517

Browse files
ErioldDaniel Montoya
andauthored
fix(): correccion de variable (#706)
Co-authored-by: Daniel Montoya <daniel.montoya@eclass.cl>
1 parent 6f4ecd4 commit 1282517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'
44
import path from 'path'
55

66
// VITE_REACT_DEPLOY_DOCUMENTATION viene de tu script "deploy"
7-
const isDocs = import.meta.env.VITE_REACT_DEPLOY_DOCUMENTATION === 'DOCUMENTATION'
7+
const isDocs = process.env.VITE_REACT_DEPLOY_DOCUMENTATION === 'DOCUMENTATION'
88

99
export default defineConfig({
1010
plugins: [react(), tsconfigPaths()],

0 commit comments

Comments
 (0)