Skip to content

Commit

Permalink
Merge pull request #85 from BigWhaleLabs/add-sentry
Browse files Browse the repository at this point in the history
add sourcemap
  • Loading branch information
MixailE authored Nov 17, 2023
2 parents e2c6e81 + e63df7d commit ec8dc91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deployflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
shell: bash
env:
VITE_ETH_RPC: ${{ secrets.VITE_ETH_RPC }}
VITE_SENTRY_DSN: ${{ secrets.VITE_SENTRY_DSN }}
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
Expand Down
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default defineConfig({
},
build: {
target: 'es2020',

rollupOptions: {
plugins: ([
visualizer({
Expand All @@ -32,10 +33,13 @@ export default defineConfig({
removeConsole(),
] as unknown[]) as Plugin[],
},

commonjsOptions: {
transformMixedEsModules: true,
},

outDir: './docs',
sourcemap: true,
},
optimizeDeps: {
esbuildOptions: {
Expand Down

0 comments on commit ec8dc91

Please sign in to comment.