xpe 1.0.5 → 1.0.6
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/dist/kernel/index.js +5 -2
- package/package.json +1 -1
package/dist/kernel/index.js
CHANGED
|
@@ -26,8 +26,11 @@ function loadRuntimeEngine() {
|
|
|
26
26
|
if (runtimeEngineModule)
|
|
27
27
|
return Promise.resolve(runtimeEngineModule);
|
|
28
28
|
if (!runtimeEngineModulePromise) {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
// Keep a literal dynamic import so Vite/Rollup bundles the runtime engine
|
|
30
|
+
// into a deployable child chunk instead of leaving a missing relative URL
|
|
31
|
+
// in the host's optimized dependency directory.
|
|
32
|
+
// @ts-expect-error Vite/Rollup resolves the query-suffixed runtime chunk at build time.
|
|
33
|
+
runtimeEngineModulePromise = import("./runtime-engine.js?xpe-runtime").then((module) => {
|
|
31
34
|
runtimeEngineModule = module;
|
|
32
35
|
return runtimeEngineModule;
|
|
33
36
|
});
|