Skip to content

Commit 829a0fc

Browse files
committed
mashlib.min.js in browse.html
1 parent 6ec9d90 commit 829a0fc

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"prepublishOnly": "npm test && npm run build && npm run bundlesize",
2121
"postpublish": "git push origin main --follow-tags",
2222
"bundlesize": "npm rebuild iltorb && bundlesize",
23-
"startStaticOS": "webpack serve --config webpack.config.js --open /browse.html"
23+
"startStaticOS": "webpack serve --mode=production --config webpack.config.js --open /browse.html"
2424
},
2525
"repository": {
2626
"type": "git",
@@ -93,9 +93,5 @@
9393
"path": "./dist/*[^.min].js",
9494
"maxSize": "3 MB"
9595
}
96-
],
97-
"dependencies": {
98-
"rdflib": "^2.2.34",
99-
"solid-panes": "^3.6.1-7fd4c513"
100-
}
96+
]
10197
}

static/browse.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
55
<link type="text/css" rel="stylesheet" href="mash.css" />
6-
<script type="text/javascript" src="mashlib.js"></script>
6+
<script type="text/javascript" src="mashlib.min.js"></script>
77
<script>
88
document.addEventListener('DOMContentLoaded', function() {
99
const authn = UI.authn

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ module.exports = (env, args) => {
9999
'whatwg-url': 'window',
100100
'@trust/webcrypto': 'crypto'
101101
},
102-
devtool: 'source-map'
102+
devtool: 'source-map',
103+
performance: { hints: false }
103104
}
104105
}

0 commit comments

Comments
 (0)