builder.io 1.1.28-1 → 1.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/angular/index.cjs +1 -46
- package/angular/index.mjs +1 -21
- package/cli/index.cjs +1518 -53221
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +828 -11649
- package/core/index.mjs +828 -11639
- package/figma/index.cjs +1 -35
- package/figma/index.mjs +1 -14
- package/node/index.cjs +3 -355
- package/node/index.mjs +3 -325
- package/package.json +2 -2
- package/remix/build.cjs +1 -132
- package/remix/index.mjs +1 -112
- package/server/index.cjs +223 -900
- package/server/index.mjs +225 -874
- package/vite/index.cjs +3 -142
- package/vite/index.mjs +3 -107
- package/webpack/index.cjs +27 -2875
- package/webpack/index.mjs +27 -2863
package/angular/index.cjs
CHANGED
|
@@ -1,46 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// packages/dev-tools/angular/index.ts
|
|
21
|
-
var angular_exports = {};
|
|
22
|
-
__export(angular_exports, {
|
|
23
|
-
builderDevTools: () => builderDevTools
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(angular_exports);
|
|
26
|
-
async function builderDevTools() {
|
|
27
|
-
if (typeof document !== "undefined" && window.location.hostname === "localhost") {
|
|
28
|
-
let devToolsScript = document.head.querySelector(
|
|
29
|
-
"script[data-builder-dev-tools]"
|
|
30
|
-
);
|
|
31
|
-
if (!devToolsScript) {
|
|
32
|
-
devToolsScript = document.createElement("script");
|
|
33
|
-
devToolsScript.setAttribute(
|
|
34
|
-
"src",
|
|
35
|
-
"http://localhost:5273/~builder-dev-tools.js"
|
|
36
|
-
);
|
|
37
|
-
devToolsScript.setAttribute("data-builder-dev-tools", "");
|
|
38
|
-
devToolsScript.setAttribute("async", "");
|
|
39
|
-
document.head.appendChild(devToolsScript);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
-
0 && (module.exports = {
|
|
45
|
-
builderDevTools
|
|
46
|
-
});
|
|
1
|
+
"use strict";var l=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var r=(t,e)=>{for(var d in e)l(t,d,{get:e[d],enumerable:!0})},a=(t,e,d,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of c(e))!n.call(t,o)&&o!==d&&l(t,o,{get:()=>e[o],enumerable:!(i=s(e,o))||i.enumerable});return t};var u=t=>a(l({},"__esModule",{value:!0}),t);var b={};r(b,{builderDevTools:()=>p});module.exports=u(b);async function p(){if(typeof document<"u"&&window.location.hostname==="localhost"){let t=document.head.querySelector("script[data-builder-dev-tools]");t||(t=document.createElement("script"),t.setAttribute("src","http://localhost:5273/~builder-dev-tools.js"),t.setAttribute("data-builder-dev-tools",""),t.setAttribute("async",""),document.head.appendChild(t))}}0&&(module.exports={builderDevTools});
|
package/angular/index.mjs
CHANGED
|
@@ -1,21 +1 @@
|
|
|
1
|
-
|
|
2
|
-
async function builderDevTools() {
|
|
3
|
-
if (typeof document !== "undefined" && window.location.hostname === "localhost") {
|
|
4
|
-
let devToolsScript = document.head.querySelector(
|
|
5
|
-
"script[data-builder-dev-tools]"
|
|
6
|
-
);
|
|
7
|
-
if (!devToolsScript) {
|
|
8
|
-
devToolsScript = document.createElement("script");
|
|
9
|
-
devToolsScript.setAttribute(
|
|
10
|
-
"src",
|
|
11
|
-
"http://localhost:5273/~builder-dev-tools.js"
|
|
12
|
-
);
|
|
13
|
-
devToolsScript.setAttribute("data-builder-dev-tools", "");
|
|
14
|
-
devToolsScript.setAttribute("async", "");
|
|
15
|
-
document.head.appendChild(devToolsScript);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
builderDevTools
|
|
21
|
-
};
|
|
1
|
+
async function e(){if(typeof document<"u"&&window.location.hostname==="localhost"){let t=document.head.querySelector("script[data-builder-dev-tools]");t||(t=document.createElement("script"),t.setAttribute("src","http://localhost:5273/~builder-dev-tools.js"),t.setAttribute("data-builder-dev-tools",""),t.setAttribute("async",""),document.head.appendChild(t))}}export{e as builderDevTools};
|