Skip to content

Commit

Permalink
build: disable minification so that sourcemaps are readable
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrosquall committed May 31, 2024
1 parent 1d57025 commit 78cb4a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/build-editor-preview.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ cat <<EOF > public/spec/vega/index.json
EOF

# Build the editor site in the dist folder
# Disable sourcemaps as they exceed 25 MB in size
yarn run build:only --public-url / --no-source-maps
# Disable minification to make it easier to debug, and because sourcemaps
# exceed 25 MB limit on cloudflare
yarn run build:only --public-url / --no-optimize --no-source-maps

0 comments on commit 78cb4a5

Please sign in to comment.