Tweak OSD plugin build, include images.

No need to bundle this since it's prebuilt -- this simply copies it
(including images and maps which were left out before) for staging,
which is faster and more complete.
This commit is contained in:
Dannon Baker
2020-12-02 09:58:55 -05:00
parent 7649b73afd
commit f744bfa3ab
@@ -3,13 +3,10 @@
"version": "2.4.2",
"license": "New BSD",
"dependencies": {
"backbone": "^1.3.3",
"bootstrap": "^3.3.7",
"jquery": "^3.3.1",
"parcel-bundler": "^1.4.1"
"cpy-cli": "^3.1.1",
"openseadragon": "^2.4.2"
},
"scripts": {
"build": "parcel build src/openseadragon.min.js -d static/dist"
"build": "cpy --cwd='node_modules/openseadragon/build/openseadragon' --parents './' '../../../../static/dist'"
}
}