blob: 2c019f35c4414b99b844db54a2c36e9031f93b8e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { is_development, is_testing } from "$lib/configuration";
export default function pwKey(node, value) {
if (!value)
return;
if (!is_testing()) {
if (is_development())
console.warn("VITE_TESTING is false, so not setting pw-key attributes");
return;
}
node.setAttribute("pw-key", value);
}
//# sourceMappingURL=pwKey.js.map
|