@iwsdk/vite-plugin-dev 1.0.0-rc.0 → 1.0.0-rc.1

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/index.js CHANGED
@@ -57345,6 +57345,7 @@ const OPTIMIZER_EXCLUSIONS = [
57345
57345
  'preact/jsx-runtime',
57346
57346
  ];
57347
57347
  const OPTIMIZER_INCLUSIONS = [
57348
+ '@iwsdk/core > elics',
57348
57349
  '@iwsdk/scene-composition',
57349
57350
  'three',
57350
57351
  'three-viewport-gizmo',
@@ -57774,7 +57775,10 @@ function iwsdkDev(options = {}) {
57774
57775
  // started. Keep its framework dependencies out of Vite's late discovery
57775
57776
  // pass so opening the editor cannot invalidate the running page. The
57776
57777
  // MSDF generator must also stay unbundled so its relative worker and WASM
57777
- // URLs continue to resolve when UIKit loads a TTF font.
57778
+ // URLs continue to resolve when UIKit loads a TTF font. @iwsdk/core is
57779
+ // served unbundled, so pre-bundle its elics dependency through it; the
57780
+ // nested form resolves under pnpm, where elics is not visible from the
57781
+ // app root.
57778
57782
  userConfig.optimizeDeps ?? (userConfig.optimizeDeps = {});
57779
57783
  userConfig.optimizeDeps.exclude = [
57780
57784
  ...(userConfig.optimizeDeps.exclude ?? []),