Skip to content

Commit

Permalink
stop point
Browse files Browse the repository at this point in the history
  • Loading branch information
mryanshenghong committed Nov 10, 2022
1 parent a6fda4b commit fe0576e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
curl -sL https://sentry.io/get-cli/ | bash
export VERSION=$(echo `sentry-cli releases propose-version`)
echo $VERSION
sentry-cli releases files '$VERSION' upload-sourcemaps ./dist --ext js --ext map
- name: Deployment
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"sentry:generate": "echo `sentry-cli releases propose-version`",
"sentry:upload": "sentry-cli releases files '4d94f977f6426bcc66ade9e0ec81f809366829e3' upload-sourcemaps ./dist --ext js --ext map",
"preview": "vite preview"
},
"dependencies": {
Expand Down
23 changes: 12 additions & 11 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,18 @@ export default defineConfig({
commonjsOptions: {
sourceMap: true,
},
// minify: true,
// rollupOptions: {
// output: {
// chunkFileNames: "static/js/[name]-[hash].js",
// assetFileNames: "static/[ext]/[name]-[hash].[ext]",
// manualChunks: {
// "md-editor": ["md-editor-v3"],
// element: ["element-plus"],
// },
// },
// },
minify: true,
rollupOptions: {
output: {
chunkFileNames: "static/js/[name]-[hash].js",
assetFileNames: "static/[ext]/[name]-[hash].[ext]",
manualChunks: {
"md-editor": ["md-editor-v3"],
element: ["element-plus"],
},
sourcemap: 'hidden'
},
},
reportCompressedSize: false
},
});

0 comments on commit fe0576e

Please sign in to comment.