Attempt to use the newer viz packaging approach

This commit is contained in:
greg
2020-12-02 09:58:53 -05:00
committed by Dannon Baker
parent 680357ef5f
commit 7649b73afd
3 changed files with 17 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@ const PLUGIN_BUILD_IDS = [
"mvpapp",
"ngl",
"openlayers",
"openseadragon",
"pv",
];
@@ -0,0 +1,15 @@
{
"name": "openseadragon",
"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"
},
"scripts": {
"build": "parcel build src/openseadragon.min.js -d static/dist"
}
}
@@ -13,7 +13,7 @@
<title>${hda.name | h} | ${visualization_name}</title>
## external scripts
${h.javascript_link(app_root + "scripts/openseadragon.min.js")}
${h.javascript_link(app_root + "dist/openseadragon.min.js")}
</head>
<body>
<!-- Div which will hold the Output -->