ci: actions
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
||||
- name: Build for file protocol
|
||||
run: pnpm build:file
|
||||
|
||||
- name: Rename dist folders
|
||||
- name: Prepare directories
|
||||
run: |
|
||||
mv dist dist-prod
|
||||
mv dist-prod/index.html dist-prod/404.html
|
||||
|
||||
@@ -107,6 +107,7 @@ export default defineConfig(({ mode }) => {
|
||||
},
|
||||
},
|
||||
build: {
|
||||
outDir: mode === 'file' ? 'dist-file' : 'dist',
|
||||
minify: 'terser',
|
||||
terserOptions: {
|
||||
compress: {
|
||||
|
||||
Reference in New Issue
Block a user