Skip to content

Commit

Permalink
mashlib.min.js in browse.html
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgeoa committed Jan 15, 2025
1 parent 6ec9d90 commit 829a0fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"prepublishOnly": "npm test && npm run build && npm run bundlesize",
"postpublish": "git push origin main --follow-tags",
"bundlesize": "npm rebuild iltorb && bundlesize",
"startStaticOS": "webpack serve --config webpack.config.js --open /browse.html"
"startStaticOS": "webpack serve --mode=production --config webpack.config.js --open /browse.html"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -93,9 +93,5 @@
"path": "./dist/*[^.min].js",
"maxSize": "3 MB"
}
],
"dependencies": {
"rdflib": "^2.2.34",
"solid-panes": "^3.6.1-7fd4c513"
}
]
}
2 changes: 1 addition & 1 deletion static/browse.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<link type="text/css" rel="stylesheet" href="mash.css" />
<script type="text/javascript" src="mashlib.js"></script>
<script type="text/javascript" src="mashlib.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
const authn = UI.authn
Expand Down
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ module.exports = (env, args) => {
'whatwg-url': 'window',
'@trust/webcrypto': 'crypto'
},
devtool: 'source-map'
devtool: 'source-map',
performance: { hints: false }
}
}

0 comments on commit 829a0fc

Please sign in to comment.