Skip to content

Commit

Permalink
fix: Remove p5.js from lib
Browse files Browse the repository at this point in the history
public folder was still cached by workbox
  • Loading branch information
ff6347 committed Oct 8, 2024
1 parent d5c541f commit 3b240f1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 157,691 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.6.0",
"type": "module",
"scripts": {
"copy:p5": "mkdirp ./public/lib && shx cp -r ./node_modules/p5/lib ./public/",
"copy:p5": "mkdirp ./public/lib && mkdirp ./public/lib/addons && node ./scripts/copy-p5.mjs",
"dev": "export PUBLIC_BASE_URL=$CF_PAGES_URL && astro dev",
"start": "export PUBLIC_BASE_URL=$CF_PAGES_URL && astro dev",
"prebuild": "npm run copy:p5",
Expand Down
Loading

0 comments on commit 3b240f1

Please sign in to comment.