File tree Expand file tree Collapse file tree 2 files changed +26
-22
lines changed Expand file tree Collapse file tree 2 files changed +26
-22
lines changed Original file line number Diff line number Diff line change @@ -33,24 +33,25 @@ jobs:
33
33
run : npm run test:ci --verbose
34
34
working-directory : client
35
35
36
- tests_frontend_windows :
37
- name : Run frontend unit tests on Windows
38
- timeout-minutes : 60
39
- runs-on : windows-latest
40
- steps :
41
- - uses : actions/checkout@v4
42
- - name : Use Node.js 20.x
43
- uses : actions/setup-node@v4
44
- with :
45
- node-version : 20
46
- cache : ' npm'
47
-
48
- - name : Install dependencies
49
- run : npm ci
50
-
51
- - name : Build Client
52
- run : npm run frontend:ci
53
-
54
- - name : Run unit tests
55
- run : npm run test:ci --verbose
56
- working-directory : client
36
+ # Windows job is commented out
37
+ # tests_frontend_windows:
38
+ # name: Run frontend unit tests on Windows
39
+ # timeout-minutes: 60
40
+ # runs-on: windows-latest
41
+ # steps:
42
+ # - uses: actions/checkout@v4
43
+ # - name: Use Node.js 20.x
44
+ # uses: actions/setup-node@v4
45
+ # with:
46
+ # node-version: 20
47
+ # cache: 'npm'
48
+
49
+ # - name: Install dependencies
50
+ # run: npm ci
51
+
52
+ # - name: Build Client
53
+ # run: npm run frontend:ci
54
+
55
+ # - name: Run unit tests
56
+ # run: npm run test:ci --verbose
57
+ # working-directory: client
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export default defineConfig({
55
55
nodePolyfills ( ) ,
56
56
VitePWA ( {
57
57
injectRegister : 'auto' , // 'auto' | 'manual' | 'disabled'
58
- registerType : 'prompt ' , // 'prompt' | 'auto' | 'disabled '
58
+ registerType : 'autoUpdate ' , // 'prompt' | 'autoUpdate '
59
59
devOptions : {
60
60
enabled : false , // enable/disable registering SW in development mode
61
61
} ,
@@ -118,6 +118,9 @@ export default defineConfig({
118
118
return 'vendor' ;
119
119
}
120
120
} ,
121
+ entryFileNames : 'assets/[name].[hash].js' ,
122
+ chunkFileNames : 'assets/[name].[hash].js' ,
123
+ assetFileNames : 'assets/[name].[hash].[ext]' ,
121
124
} ,
122
125
/**
123
126
* Ignore "use client" waning since we are not using SSR
You can’t perform that action at this time.
0 commit comments