Skip to content

Commit

Permalink
Upated demo build
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Aug 6, 2021
1 parent fc5d822 commit 3208374
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html><head><title>Peripleo Lite</title><link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet"><link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap" rel="stylesheet"><link href="https://cdn.maptiler.com/maplibre-gl-js/v1.14.0/maplibre-gl.css" rel="stylesheet"/><script defer="defer" src="peripleo.min.js"></script></head><body><div id="app"></div></body></html>
<!doctype html><html><head><title>Peripleo Lite</title><link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet"><link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap" rel="stylesheet"><link href="https://cdn.maptiler.com/maplibre-gl-js/v1.14.0/maplibre-gl.css" rel="stylesheet"/><script defer="defer" src="peripleo.js"></script></head><body><div id="app"></div></body></html>
18 changes: 18 additions & 0 deletions docs/peripleo.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"data": [
{ "name": "ToposText", "format": "LINKED_PLACES", "src": "data/topostext-places.lp.json" },
{ "name": "Pleiades", "format": "LINKED_PLACES", "src": "data/pleiades-places.lp.json" },
{ "name": "iDAI.gazetteer", "format": "LINKED_PLACES", "src": "data/arachne-pausanias-places.lp.json" },
{ "name": "ASCSA Agora", "format": "LINKED_PLACES", "src": "data/ascsa-monuments-places.lp.json" },

{ "name": "Arachne Monuments", "format": "LINKED_TRACES", "src": "data/arachne-pausanias-traces.lt.json" },

{
"name": "Pausanias Book 1",
"format": "TEI+LINKED_TRACES",
"trace": "data/pausanias-book1.jsonld",
"tei": "data/pausanias-book1.tei.xml",
"prefix": "http://recogito.humlab.umu.se/annotation/"
}
]
}
6 changes: 3 additions & 3 deletions docs/peripleo.min.js → docs/peripleo.js

Large diffs are not rendered by default.

File renamed without changes.
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: './src/index.jsx',
output: {
filename: 'peripleo.min.js',
filename: 'peripleo.js',
path: path.resolve(__dirname, 'dist'),
},
resolve: {
Expand All @@ -14,6 +14,9 @@ module.exports = {
'mapbox-gl': 'maplibre-gl'
}
},
optimization: {
minimize: true
},
module: {
rules: [
{
Expand Down

0 comments on commit 3208374

Please sign in to comment.