Skip to content

Commit

Permalink
temp build script
Browse files Browse the repository at this point in the history
  • Loading branch information
hueitan committed Nov 15, 2023
1 parent 7e5dac0 commit 3cd6471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ mkdir -p demo/script

cp dist/wikipedia-preview.umd.cjs demo/script
cp dist/style.css demo/css
# sed -i -e 's/\.\.\/wikipedia-preview\.development\.js/\.\.\/script\/wikipedia-preview\.production\.js/g' demo/articles/*.html
# sed -i -e 's/\.\.\/wikipedia-preview\.css/\.\.\/css\/wikipedia-preview\.css/g' demo/articles/*.html
sed -i -e 's/\/dist\/wikipedia-preview\.umd\.cjs/\.\.\/script\/wikipedia-preview\.umd\.cjs/g' demo/articles/*.html
sed -i -e 's/\/dist\/style.css/\.\.\/css\/style\.css/g' demo/articles/*.html

0 comments on commit 3cd6471

Please sign in to comment.