@base44-preview/vite-plugin 0.2.17-pr.27.979995b → 0.2.17-pr.27.bb8d55e
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.
|
@@ -21,7 +21,7 @@ export function htmlInjectionsPlugin({ hmrNotifier, navigationNotifier, visualEd
|
|
|
21
21
|
` const mode = new URLSearchParams(location.search).get("sandbox-bridge");`,
|
|
22
22
|
` const url = mode === "local"`,
|
|
23
23
|
` ? "https://localhost:3201/index.mjs"`,
|
|
24
|
-
` : "/node_modules/@base44/vite-plugin/dist/
|
|
24
|
+
` : "/node_modules/@base44/vite-plugin/dist/statics/index.mjs";`,
|
|
25
25
|
` const mod = await import(url);`,
|
|
26
26
|
` mod.init(${options});`,
|
|
27
27
|
` } catch (e) {`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-injections-plugin.js","sourceRoot":"","sources":["../src/html-injections-plugin.ts"],"names":[],"mappings":"AAQA,MAAM,UAAU,oBAAoB,CAAC,EACnC,WAAW,EACX,kBAAkB,EAClB,eAAe,GACM;IACrB,OAAO;QACL,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,YAAY;QAE/C,kBAAkB;YAChB,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC;gBAC7B,WAAW;gBACX,kBAAkB;gBAClB,eAAe;gBACf,eAAe,EAAE,IAAI;gBACrB,aAAa,EAAE,IAAI;aACpB,CAAC,CAAC;YACH,OAAO;gBACL;oBACE,GAAG,EAAE,QAAQ;oBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,QAAQ,EAAE;wBACR,mCAAmC;wBACnC,kBAAkB;wBAClB,WAAW;wBACX,gFAAgF;wBAChF,oCAAoC;wBACpC,8CAA8C;wBAC9C
|
|
1
|
+
{"version":3,"file":"html-injections-plugin.js","sourceRoot":"","sources":["../src/html-injections-plugin.ts"],"names":[],"mappings":"AAQA,MAAM,UAAU,oBAAoB,CAAC,EACnC,WAAW,EACX,kBAAkB,EAClB,eAAe,GACM;IACrB,OAAO;QACL,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,YAAY;QAE/C,kBAAkB;YAChB,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC;gBAC7B,WAAW;gBACX,kBAAkB;gBAClB,eAAe;gBACf,eAAe,EAAE,IAAI;gBACrB,aAAa,EAAE,IAAI;aACpB,CAAC,CAAC;YACH,OAAO;gBACL;oBACE,GAAG,EAAE,QAAQ;oBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,QAAQ,EAAE;wBACR,mCAAmC;wBACnC,kBAAkB;wBAClB,WAAW;wBACX,gFAAgF;wBAChF,oCAAoC;wBACpC,8CAA8C;wBAC9C,uEAAuE;wBACvE,sCAAsC;wBACtC,kBAAkB,OAAO,IAAI;wBAC7B,mBAAmB;wBACnB,6DAA6D;wBAC7D,OAAO;wBACP,SAAS;wBACT,GAAG;qBACJ,CAAC,IAAI,CAAC,IAAI,CAAC;oBACZ,QAAQ,EAAE,MAAM;iBACjB;aACF,CAAC;QACJ,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ export function htmlInjectionsPlugin({
|
|
|
34
34
|
` const mode = new URLSearchParams(location.search).get("sandbox-bridge");`,
|
|
35
35
|
` const url = mode === "local"`,
|
|
36
36
|
` ? "https://localhost:3201/index.mjs"`,
|
|
37
|
-
` : "/node_modules/@base44/vite-plugin/dist/
|
|
37
|
+
` : "/node_modules/@base44/vite-plugin/dist/statics/index.mjs";`,
|
|
38
38
|
` const mod = await import(url);`,
|
|
39
39
|
` mod.init(${options});`,
|
|
40
40
|
` } catch (e) {`,
|