Skip to content

Commit 8bf7748

Browse files
Merge pull request #188 from SublimePotato/master
feat: enabled interaction with content and added <title> tags to enable hover texts
2 parents fd0a4d5 + 32761d7 commit 8bf7748

33 files changed

+967
-529
lines changed

dist/better-thermostat-ui-card.js

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

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@
4848
"rollup-plugin-serve": "^2.0.2",
4949
"rollup-plugin-terser": "7.0.2",
5050
"typescript": "^5.2.2"
51+
},
52+
"volta": {
53+
"node": "18.20.4"
5154
}
5255
}

rollup.config.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const serveOptions = {
2020
allowCrossOrigin: true,
2121
headers: {
2222
"Access-Control-Allow-Origin": "*",
23+
"Access-Control-Allow-Private-Network": "true",
2324
},
2425
};
2526

@@ -44,14 +45,14 @@ const plugins = [
4445
},
4546
warnings: true,
4647
output: {
47-
comments: function (node, comment) {
48-
var text = comment.value;
49-
var type = comment.type;
50-
if (type == "comment2") {
51-
// multiline comment
52-
return /@preserve|@license|@cc_on/i.test(text);
53-
}
54-
},
48+
comments: function (node, comment) {
49+
var text = comment.value;
50+
var type = comment.type;
51+
if (type == "comment2") {
52+
// multiline comment
53+
return /@preserve|@license|@cc_on/i.test(text);
54+
}
55+
},
5556
},
5657
}),
5758
...(dev ? [serve(serveOptions)] : []),

0 commit comments

Comments
 (0)