Skip to content

Commit

Permalink
generate sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed Oct 19, 2023
1 parent 591a9c0 commit c5c9289
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

dist/
.next/*
out/*

example/*.zarr
example/.ipynb_checkpoints/*
Expand Down
2 changes: 2 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export default defineConfig({
plugins: [react(), writeEntryPoint('index.js', /^vizarr-/)],
base: process.env.VIZARR_PREFIX || './',
build: {
outDir: 'out',
assetsDir: '',
sourcemap: true,
rollupOptions: {
output: {
manualChunks: {
Expand Down

0 comments on commit c5c9289

Please sign in to comment.