@stencil/core 4.17.1-dev.1713982255.c28d937 → 4.17.1-dev.1713996452.22829d8

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/cli/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI (CommonJS) v4.17.1-dev.1713982255.c28d937 | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI (CommonJS) v4.17.1-dev.1713996452.22829d8 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;
@@ -3141,7 +3141,13 @@ var findConfig = async (opts) => {
3141
3141
 
3142
3142
  // src/cli/load-compiler.ts
3143
3143
  var loadCoreCompiler = async (sys) => {
3144
- return await sys.dynamicImport(sys.getCompilerExecutingPath());
3144
+ const compilerMod = await sys.dynamicImport(sys.getCompilerExecutingPath());
3145
+ if (globalThis.stencil) {
3146
+ return globalThis.stencil;
3147
+ } else {
3148
+ globalThis.stencil = compilerMod;
3149
+ return compilerMod;
3150
+ }
3145
3151
  };
3146
3152
 
3147
3153
  // src/cli/logs.ts
package/cli/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI v4.17.1-dev.1713982255.c28d937 | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI v4.17.1-dev.1713996452.22829d8 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  var __create = Object.create;
5
5
  var __defProp = Object.defineProperty;
@@ -3136,7 +3136,13 @@ var findConfig = async (opts) => {
3136
3136
 
3137
3137
  // src/cli/load-compiler.ts
3138
3138
  var loadCoreCompiler = async (sys) => {
3139
- return await sys.dynamicImport(sys.getCompilerExecutingPath());
3139
+ const compilerMod = await sys.dynamicImport(sys.getCompilerExecutingPath());
3140
+ if (globalThis.stencil) {
3141
+ return globalThis.stencil;
3142
+ } else {
3143
+ globalThis.stencil = compilerMod;
3144
+ return compilerMod;
3145
+ }
3140
3146
  };
3141
3147
 
3142
3148
  // src/cli/logs.ts
package/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/cli",
3
- "version": "4.17.1-dev.1713982255.c28d937",
3
+ "version": "4.17.1-dev.1713996452.22829d8",
4
4
  "description": "Stencil CLI.",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/compiler",
3
- "version": "4.17.1-dev.1713982255.c28d937",
3
+ "version": "4.17.1-dev.1713996452.22829d8",
4
4
  "description": "Stencil Compiler.",
5
5
  "main": "./stencil.js",
6
6
  "types": "./stencil.d.ts",