Skip to content

Commit

Permalink
fix: add textures to published package
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulthink committed Feb 16, 2024
1 parent aac9396 commit 5caab05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@
},
"files": [
"./src",
"./dist/textures",
"./dist/esa-webgl-globe.*",
"./dist/tile-selector-worker.*"
],
"scripts": {
"start": "vite",
"prepack": "npm run build:lib",
"build": "tsc && rm -rf ./dist && npm run build:lib && npm run build:examples",
"build:lib": "rm -rf ./dist ; rollup -c",
"build:lib": "rm -rf ./dist ; rollup -c ; cp -r public/textures dist/textures",
"build:examples": "vite build",
"deploy:examples": "npm run build && gsutil -m -h 'Cache-Control: no-cache' cp -r dist/examples/* gs://ubilabs-webgl-globe/examples/"
},
Expand Down

0 comments on commit 5caab05

Please sign in to comment.