File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed
Servers/UI/OJS.Servers.Ui/ClientApp Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,3 @@ VITE_UI_SERVER_URL = 'https://alpha.judge.softuni.org'
2
2
VITE_ADMINISTRATION_URL = ' https://admin.alpha.judge.softuni.org'
3
3
VITE_PLATFORM_URL = ' https://platform.softuni.bg'
4
4
VITE_YOUTUBE_VIDEO_ID = ' EjQlqgTbvsE'
5
- UNMINIFIED = true
Original file line number Diff line number Diff line change @@ -2,4 +2,3 @@ VITE_UI_SERVER_URL = 'https://dev.alpha.judge.softuni.org'
2
2
VITE_ADMINISTRATION_URL = ' https://admin.dev.alpha.judge.softuni.org'
3
3
VITE_PLATFORM_URL = ' https://dev.platform.softuni.bg'
4
4
VITE_YOUTUBE_VIDEO_ID = ' EjQlqgTbvsE'
5
- UNMINIFIED = true
Original file line number Diff line number Diff line change 83
83
"scripts" : {
84
84
"start" : " vite" ,
85
85
"build" : " vite build" ,
86
- "build:staging" : " vite build --mode staging" ,
86
+ "build:unminified" : " vite build --mode production --unminified" ,
87
+ "build:staging" : " vite build --mode staging --unminified" ,
87
88
"build:local" : " vite build --mode development.local" ,
88
89
"eject" : " react-scripts eject" ,
89
90
"lint:eslint" : " ./node_modules/.bin/eslint ./src --ext .tsx --ext .ts" ,
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const forwardToAdmin = () => {
23
23
}
24
24
25
25
export default defineConfig ( ( { mode } ) => {
26
- const isUnminified = process . env . UNMINIFIED === 'true' ;
26
+ const isUnminified = process . argv . includes ( '--unminified' ) ;
27
27
28
28
return ( {
29
29
appType : 'mpa' , // Multi Page Application
You can’t perform that action at this time.
0 commit comments