fix(needle): correct vite gzip option and rebuild dist

Replace invalid ddeleteOriginalAssets with deleteOriginalAssets: false so
vite-plugin-compression2 keeps uncompressed JS/CSS alongside .gz files.
Without this, index.html referenced missing chunks and the scene failed to load.
Rebuild MenuScene and SampleScene production bundles.

Made-with: Cursor
This commit is contained in:
pelpanagiotis
2026-04-19 23:58:16 +03:00
parent dc6c134c2e
commit 0200cd8082
67 changed files with 54 additions and 45 deletions

View File

@@ -53,7 +53,7 @@ if (!customElements.get(componentName)) {
while(this.basePath.endsWith('/')) {
this.basePath = this.basePath.slice(0, -1);
}
script.src = this.getAttribute('script-src') || `${this.basePath}/assets/index-Dng8tdEB.js`;
script.src = this.getAttribute('script-src') || `${this.basePath}/assets/index-CPvnPsNu.js`;
this.shadowRoot.appendChild(script);
this.needleEngine = document.createElement('needle-engine');