File tree Expand file tree Collapse file tree 3 files changed +21
-4
lines changed
Servers/UI/OJS.Servers.Ui/ClientApp Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 58
58
"@types/uuid" : " ^8.3.1" ,
59
59
"@typescript-eslint/eslint-plugin" : " ^7.0.2" ,
60
60
"@typescript-eslint/parser" : " ^7.0.2" ,
61
+ "cross-env" : " ^7.0.3" ,
61
62
"eslint" : " ^8.56.0" ,
62
63
"eslint-config-airbnb" : " ^19.0.4" ,
63
64
"eslint-import-resolver-typescript" : " ^3.6.1" ,
83
84
"scripts" : {
84
85
"start" : " vite" ,
85
86
"build" : " vite build" ,
86
- "build:unminified" : " vite build --mode production --unminified " ,
87
- "build:staging" : " vite build --mode staging --unminified " ,
87
+ "build:unminified" : " cross-env UNMINIFIED=true vite build " ,
88
+ "build:staging" : " cross-env UNMINIFIED=true vite build --mode staging" ,
88
89
"build:local" : " vite build --mode development.local" ,
89
90
"eject" : " react-scripts eject" ,
90
91
"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 . argv . includes ( '--unminified' ) ;
26
+ const isUnminified = process . env . UNMINIFIED === 'true' ;
27
27
28
28
return ( {
29
29
appType : 'mpa' , // Multi Page Application
Original file line number Diff line number Diff line change @@ -4576,13 +4576,29 @@ create-emotion@^10.0.14, create-emotion@^10.0.27:
4576
4576
"@emotion/sheet" "0.9.4"
4577
4577
"@emotion/utils" "0.11.3"
4578
4578
4579
+ cross-env@^7.0.3:
4580
+ version "7.0.3"
4581
+ resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf"
4582
+ integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==
4583
+ dependencies:
4584
+ cross-spawn "^7.0.1"
4585
+
4579
4586
cross-fetch@^3.1.5:
4580
4587
version "3.1.8"
4581
4588
resolved "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz"
4582
4589
integrity sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==
4583
4590
dependencies:
4584
4591
node-fetch "^2.6.12"
4585
4592
4593
+ cross-spawn@^7.0.1:
4594
+ version "7.0.6"
4595
+ resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f"
4596
+ integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
4597
+ dependencies:
4598
+ path-key "^3.1.0"
4599
+ shebang-command "^2.0.0"
4600
+ which "^2.0.1"
4601
+
4586
4602
cross-spawn@^7.0.2, cross-spawn@^7.0.3:
4587
4603
version "7.0.3"
4588
4604
resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz"
@@ -10276,7 +10292,7 @@ react-lite-youtube-embed@^2.4.0:
10276
10292
resolved "https://registry.npmjs.org/react-lite-youtube-embed/-/react-lite-youtube-embed-2.4.0.tgz"
10277
10293
integrity sha512-Xo6cM1zPlROvvM97JkqQIoXstlQDaC4+DawmM7BB7Hh1cXrkBHEGq1iJlQxBTUWAUklmpcC7ph7qg7CztXtABQ==
10278
10294
10279
- react-markdown@8.0.7:
10295
+ react-markdown@^ 8.0.7:
10280
10296
version "8.0.7"
10281
10297
resolved "https://registry.yarnpkg.com/react-markdown/-/react-markdown-8.0.7.tgz#c8dbd1b9ba5f1c5e7e5f2a44de465a3caafdf89b"
10282
10298
integrity sha512-bvWbzG4MtOU62XqBx3Xx+zB2raaFFsq4mYiAzfjXJMEz2sixgeAfraA3tvzULF02ZdOMUOKTBFFaZJDDrq+BJQ==
You can’t perform that action at this time.
0 commit comments