Skip to content

Commit

Permalink
build: switch bundler for deploy previews back to parcel
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrosquall committed May 31, 2024
1 parent b32c73c commit 9639bac
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions scripts/build-editor-preview.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@

set -eo pipefail

# Build the docs site and replace the main build with the local copy of vega-lite
echo "Attempting install"
# apt install rsync
# Build the editor site and replace the main build with the local copy of vega-lite
echo "Starting install"

yarn build
yarn link
git clone https://github.com/vega/editor.git

#
cd editor
yarn --frozen-lockfile --ignore-scripts
yarn link vega-lite
Expand All @@ -32,5 +30,5 @@ cat <<EOF > public/spec/vega/index.json
{}
EOF

# TBD if some vendor files are needed
yarn run vite build --base /
# Build the editor site in the dist folder
yarn run build:only --public-url /

0 comments on commit 9639bac

Please sign in to comment.