Skip to content

Commit

Permalink
fix to prev
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohvinov committed Jan 11, 2024
1 parent 0a217e5 commit 82dc6f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import createSvgSpritePlugin from 'vite-plugin-svg-sprite';

// https://vitejs.dev/config/
export default ({ mode }) => {
const env = loadEnv(mode, process.cwd(), '');
// const env = loadEnv(mode, process.cwd(), '');

return defineConfig({
base: '/crm',
define: {
'process.env': JSON.parse(JSON.stringify(env)
.replaceAll('VITE_', 'VUE_APP_')),
// 'process.env': JSON.parse(JSON.stringify(env)
// .replaceAll('VITE_', 'VUE_APP_')),
},
server: {
host: true,
Expand Down

0 comments on commit 82dc6f8

Please sign in to comment.