Skip to content

Commit 7368489

Browse files
committed
5.0.2
1 parent e1fa94d commit 7368489

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

dist/dev/cdn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const resolve = ({ protocol, host, pathname }) => {
22
const dev = /[?&](?:dev|debug)(?:=|$)/.test(location.search);
33
let path = pathname.replace(/\+\S*?$/, '');
4-
path = path.replace(/\/cdn(?:\/|\.js\S*)$/, '/');
4+
path = path.replace(/\/(?:auto|cdn)(?:\/|\.js\S*)$/, '/');
55
path = path.replace(/\/(?:dist\/)?(?:dev|prod)\//, '/');
66
return `${protocol}//${host}${path}dist/${dev ? 'dev' : 'prod'}/dom.js`;
77
};

dist/prod/cdn.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "uhtml",
3-
"version": "5.0.1",
3+
"version": "5.0.2",
44
"type": "module",
55
"scripts": {
66
"build": "npm run types && npm run build:js",

0 commit comments

Comments
 (0)