mistic100 / Photo-Sphere-Viewer

A JavaScript library to display 360° sphere panoramas.
https://photo-sphere-viewer.js.org
MIT License
1.93k stars 684 forks source link

Locally linked fork : ReferenceError: PKG_VERSION is not defined #1465

Closed Zambiorix closed 1 week ago

Zambiorix commented 1 week ago

Describe your problem

I'm currently working with a local linked version of the @photo-sphere-viewer/virtual-tour-plugin. But when running my app I get the following error in the browser. I guess that's because the other plugins are not linked.

PhotoSphereViewer: @photo-sphere-viewer/virtual-tour is in version 0.0.0 but @photo-sphere-viewer/core is in version 5.11.0 psv.ts:446:16

My app is functional, everything works, but only locally .. As soon as I publish to a production environment I see the following error: Nothing works (blank page).

Uncaught (in promise) ReferenceError: PKG_VERSION is not defined
    <anonymous> https://dashboard.xxxxxx.xx/assets/PageProject.0e5bf93f.js:7736
PageProject.0e5bf93f.js:7736:17233

Below you can see a snippet of my package.json file. As you can see, only the virtual-tour-plugin is linked locally...

  "dependencies": {
    "@photo-sphere-viewer/core": "^5.11.0",
    "@photo-sphere-viewer/equirectangular-tiles-adapter": "^5.11.0",
    "@photo-sphere-viewer/virtual-tour-plugin": "link:/workspace/Submodules/Photo-Sphere-Viewer/packages/virtual-tour-plugin/dist",

If I link the all the others too, I locally get exactely the same error as when I publish my app. And nothing works (blank page).

ReferenceError: PKG_VERSION is not defined
    <anonymous> Angular
vue-router.mjs:3596:20

I'm not an expert on node/javascript development, so I'm not sure how to solve this. Any idea how I can use a local version of your library and solve the PKG_VERSION error both locally and published?

Thanks!

Cheers Gerd

Online demo URL

No response

Photo Sphere Viewer version

5.11.0

Plugins loaded

@photo-sphere-viewer/virtual-tour-plugin

Additional context

No response

mistic100 commented 1 week ago

As I don't know your setup I cannot really help you. The variable is declared here in the build process so I long as you are 100% sure you use a version built with my tools it should work.

If you cannot wait for 5.11.1 to be released you will have to make a proper fork of the lib and publish ALL packages to a Nexus or something.

Zambiorix commented 1 week ago

Created a fork, ran yarn the first time and then yarn run build. After that I linked the tour plugin to my project. Am I missing something?

Zambiorix commented 1 week ago

Do I need to set environment variables or so?

mistic100 commented 1 week ago

No, it should work. I don't know.

Zambiorix commented 1 week ago

It is not normal for version to remain 0.0.0 , even if I build locally?

Zambiorix commented 1 week ago

I'm working in a simple vscode dev container with node 20 installed. I removed node_modules and started again:

vscode ➜ /workspace/Submodules/Photo-Sphere-Viewer $ yarn
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > esbuild-sass-plugin@3.3.0" has unmet peer dependency "esbuild@>=0.20.1".
warning " > esbuild-sass-plugin@3.3.0" has unmet peer dependency "sass-embedded@^1.71.1".
warning "inquirer > @inquirer/type@3.0.0" has unmet peer dependency "@types/node@>=18".
warning " > ts-node@10.9.1" has unmet peer dependency "@types/node@*".
warning "workspace-aggregator-e695e84b-c959-4324-8c5e-e58457a18eaa > photo-sphere-viewer-doc > vuetify@3.7.1" has unmet peer dependency "vue@^3.3.0".
warning "workspace-aggregator-e695e84b-c959-4324-8c5e-e58457a18eaa > photo-sphere-viewer-doc > vitepress > @docsearch/js > @docsearch/react > @algolia/autocomplete-preset-algolia@1.9.3" has unmet peer dependency "@algolia/client-search@>= 4.9.1 < 6".
warning "workspace-aggregator-e695e84b-c959-4324-8c5e-e58457a18eaa > photo-sphere-viewer-doc > vitepress > @docsearch/js > @docsearch/react > @algolia/autocomplete-core > @algolia/autocomplete-plugin-algolia-insights@1.9.3" has unmet peer dependency "search-insights@>= 1 < 3".
warning "workspace-aggregator-e695e84b-c959-4324-8c5e-e58457a18eaa > photo-sphere-viewer-doc > vitepress > @docsearch/js > @docsearch/react > @algolia/autocomplete-core > @algolia/autocomplete-shared@1.9.3" has unmet peer dependency "@algolia/client-search@>= 4.9.1 < 6".
[4/4] Building fresh packages...
$ turbo telemetry disable
╭──────────────────────────────────────────────────────────────────────╮
│                                                                      │
│                  Update available v1.13.3 ≫ v2.2.3                   │
│    Changelog: https://github.com/vercel/turbo/releases/tag/v2.2.3    │
│           Run "npx @turbo/codemod@latest update" to update           │
│                                                                      │
│        Follow @turborepo for updates: https://x.com/turborepo        │
╰──────────────────────────────────────────────────────────────────────╯
Success!

Status: Disabled

You have opted-out of Turborepo anonymous telemetry. No data will be collected from your machine.
Learn more: https://turbo.build/repo/docs/telemetry
Done in 17.74s.
vscode ➜ /workspace/Submodules/Photo-Sphere-Viewer $ yarn run build
yarn run v1.22.22
$ turbo run build
╭──────────────────────────────────────────────────────────────────────╮
│                                                                      │
│                  Update available v1.13.3 ≫ v2.2.3                   │
│    Changelog: https://github.com/vercel/turbo/releases/tag/v2.2.3    │
│           Run "npx @turbo/codemod@latest update" to update           │
│                                                                      │
│        Follow @turborepo for updates: https://x.com/turborepo        │
╰──────────────────────────────────────────────────────────────────────╯
• Packages in scope: @photo-sphere-viewer/autorotate-plugin, @photo-sphere-viewer/compass-plugin, @photo-sphere-viewer/core, @photo-sphere-viewer/cubemap-adapter, @photo-sphere-viewer/cubemap-tiles-adapter, @photo-sphere-viewer/cubemap-video-adapter, @photo-sphere-viewer/equirectangular-tiles-adapter, @photo-sphere-viewer/equirectangular-video-adapter, @photo-sphere-viewer/gallery-plugin, @photo-sphere-viewer/gyroscope-plugin, @photo-sphere-viewer/map-plugin, @photo-sphere-viewer/markers-plugin, @photo-sphere-viewer/overlays-plugin, @photo-sphere-viewer/plan-plugin, @photo-sphere-viewer/resolution-plugin, @photo-sphere-viewer/settings-plugin, @photo-sphere-viewer/shared, @photo-sphere-viewer/stereo-plugin, @photo-sphere-viewer/video-plugin, @photo-sphere-viewer/virtual-tour-plugin, @photo-sphere-viewer/visible-range-plugin, photo-sphere-viewer-doc
• Running build in 22 packages
• Remote caching disabled
@photo-sphere-viewer/gyroscope-plugin:build: cache miss, executing 5240100ba75337d4
@photo-sphere-viewer/cubemap-video-adapter:build: cache miss, executing defce00512fd2120
@photo-sphere-viewer/cubemap-tiles-adapter:build: cache miss, executing 4233c5af4fe26f9f
@photo-sphere-viewer/settings-plugin:build: cache miss, executing b5a3cd6ce2e1a9eb
@photo-sphere-viewer/gallery-plugin:build: cache miss, executing 58e1caeccc0e26be
@photo-sphere-viewer/markers-plugin:build: cache miss, executing eeb7bd9959e0acf4
@photo-sphere-viewer/core:build: cache miss, executing 2ffb027114dfdd0d
@photo-sphere-viewer/overlays-plugin:build: cache miss, executing 9956a0e325e45442
@photo-sphere-viewer/resolution-plugin:build: cache miss, executing 79c3377a48e618a8
@photo-sphere-viewer/cubemap-adapter:build: cache miss, executing 24d7facbc34a2e4b
$ tsup
$ tsup
$ tsup
$ tsup
$ tsup
$ tsup
$ tsup
$ tsup
$ tsup
$ tsup
@photo-sphere-viewer/resolution-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/resolution-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/resolution-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/resolution-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/resolution-plugin/tsup.config.ts
@photo-sphere-viewer/resolution-plugin:build: CLI Target: es2021
@photo-sphere-viewer/resolution-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/resolution-plugin:build: ESM Build start
@photo-sphere-viewer/resolution-plugin:build: CJS Build start
@photo-sphere-viewer/gyroscope-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/gyroscope-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/gyroscope-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/gyroscope-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/gyroscope-plugin/tsup.config.ts
@photo-sphere-viewer/gyroscope-plugin:build: CLI Target: es2021
@photo-sphere-viewer/gyroscope-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/gyroscope-plugin:build: ESM Build start
@photo-sphere-viewer/gyroscope-plugin:build: CJS Build start
@photo-sphere-viewer/gallery-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/gallery-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/gallery-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/gallery-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/gallery-plugin/tsup.config.ts
@photo-sphere-viewer/gallery-plugin:build: CLI Target: es2021
@photo-sphere-viewer/gallery-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/gallery-plugin:build: ESM Build start
@photo-sphere-viewer/gallery-plugin:build: CJS Build start
@photo-sphere-viewer/core:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/core:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/core:build: CLI tsup v8.3.0
@photo-sphere-viewer/core:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/core/tsup.config.ts
@photo-sphere-viewer/core:build: CLI Target: es2021
@photo-sphere-viewer/overlays-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/overlays-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/overlays-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/overlays-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/overlays-plugin/tsup.config.ts
@photo-sphere-viewer/core:build: CLI Cleaning output folder
@photo-sphere-viewer/core:build: ESM Build start
@photo-sphere-viewer/core:build: CJS Build start
@photo-sphere-viewer/cubemap-adapter:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/overlays-plugin:build: CLI Target: es2021
@photo-sphere-viewer/cubemap-adapter:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/cubemap-adapter:build: CLI tsup v8.3.0
@photo-sphere-viewer/cubemap-adapter:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/cubemap-adapter/tsup.config.ts
@photo-sphere-viewer/cubemap-adapter:build: CLI Target: es2021
@photo-sphere-viewer/overlays-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/overlays-plugin:build: ESM Build start
@photo-sphere-viewer/overlays-plugin:build: CJS Build start
@photo-sphere-viewer/cubemap-adapter:build: CLI Cleaning output folder
@photo-sphere-viewer/cubemap-adapter:build: ESM Build start
@photo-sphere-viewer/cubemap-adapter:build: CJS Build start
@photo-sphere-viewer/markers-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/cubemap-tiles-adapter:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/markers-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/markers-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/markers-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/markers-plugin/tsup.config.ts
@photo-sphere-viewer/markers-plugin:build: CLI Target: es2021
@photo-sphere-viewer/cubemap-tiles-adapter:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/cubemap-tiles-adapter:build: CLI tsup v8.3.0
@photo-sphere-viewer/cubemap-tiles-adapter:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/cubemap-tiles-adapter/tsup.config.ts
@photo-sphere-viewer/cubemap-tiles-adapter:build: CLI Target: es2021
@photo-sphere-viewer/settings-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/markers-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/markers-plugin:build: ESM Build start
@photo-sphere-viewer/markers-plugin:build: CJS Build start
@photo-sphere-viewer/cubemap-video-adapter:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/settings-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/settings-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/settings-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/settings-plugin/tsup.config.ts
@photo-sphere-viewer/cubemap-tiles-adapter:build: CLI Cleaning output folder
@photo-sphere-viewer/settings-plugin:build: CLI Target: es2021
@photo-sphere-viewer/cubemap-tiles-adapter:build: ESM Build start
@photo-sphere-viewer/cubemap-tiles-adapter:build: CJS Build start
@photo-sphere-viewer/cubemap-video-adapter:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/cubemap-video-adapter:build: CLI tsup v8.3.0
@photo-sphere-viewer/cubemap-video-adapter:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/cubemap-video-adapter/tsup.config.ts
@photo-sphere-viewer/cubemap-video-adapter:build: CLI Target: es2021
@photo-sphere-viewer/settings-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/cubemap-video-adapter:build: CLI Cleaning output folder
@photo-sphere-viewer/cubemap-video-adapter:build: ESM Build start
@photo-sphere-viewer/cubemap-video-adapter:build: CJS Build start
@photo-sphere-viewer/settings-plugin:build: ESM Build start
@photo-sphere-viewer/settings-plugin:build: CJS Build start
@photo-sphere-viewer/resolution-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/resolution-plugin/dist/index.module.js.map
@photo-sphere-viewer/resolution-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/resolution-plugin/dist/index.cjs.map
@photo-sphere-viewer/resolution-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/resolution-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/resolution-plugin:build: ASSET dist/README.md 848 B
@photo-sphere-viewer/resolution-plugin:build: ASSET dist/package.json 821 B
@photo-sphere-viewer/resolution-plugin:build: CJS dist/index.cjs     6.23 KB
@photo-sphere-viewer/resolution-plugin:build: CJS dist/index.cjs.map 9.59 KB
@photo-sphere-viewer/resolution-plugin:build: CJS ⚡️ Build success in 247ms
@photo-sphere-viewer/resolution-plugin:build: ESM dist/index.module.js     5.24 KB
@photo-sphere-viewer/resolution-plugin:build: ESM dist/index.module.js.map 9.52 KB
@photo-sphere-viewer/resolution-plugin:build: ESM ⚡️ Build success in 249ms
@photo-sphere-viewer/gyroscope-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/gyroscope-plugin/dist/index.module.js.map
@photo-sphere-viewer/gyroscope-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/gyroscope-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/gyroscope-plugin:build: ASSET dist/README.md 809 B
@photo-sphere-viewer/gyroscope-plugin:build: ASSET dist/package.json 735 B
@photo-sphere-viewer/gyroscope-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/gyroscope-plugin/dist/index.cjs.map
@photo-sphere-viewer/gyroscope-plugin:build: CJS dist/index.cjs     14.20 KB
@photo-sphere-viewer/gyroscope-plugin:build: CJS dist/index.cjs.map 24.98 KB
@photo-sphere-viewer/gyroscope-plugin:build: CJS ⚡️ Build success in 358ms
@photo-sphere-viewer/gyroscope-plugin:build: ESM dist/index.module.js     13.06 KB
@photo-sphere-viewer/gyroscope-plugin:build: ESM dist/index.module.js.map 24.95 KB
@photo-sphere-viewer/gyroscope-plugin:build: ESM ⚡️ Build success in 359ms
@photo-sphere-viewer/cubemap-adapter:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/cubemap-adapter/dist/index.module.js.map
@photo-sphere-viewer/overlays-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/overlays-plugin/dist/index.cjs.map
@photo-sphere-viewer/cubemap-adapter:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/cubemap-adapter:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/cubemap-adapter:build: ASSET dist/README.md 784 B
@photo-sphere-viewer/cubemap-adapter:build: ASSET dist/package.json 716 B
@photo-sphere-viewer/overlays-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/overlays-plugin/dist/index.module.js.map
@photo-sphere-viewer/cubemap-adapter:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/cubemap-adapter/dist/index.cjs.map
@photo-sphere-viewer/overlays-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/overlays-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/overlays-plugin:build: ASSET dist/README.md 799 B
@photo-sphere-viewer/overlays-plugin:build: ASSET dist/package.json 764 B
@photo-sphere-viewer/overlays-plugin:build: CJS dist/index.cjs     8.44 KB
@photo-sphere-viewer/overlays-plugin:build: CJS dist/index.cjs.map 14.57 KB
@photo-sphere-viewer/overlays-plugin:build: CJS ⚡️ Build success in 342ms
@photo-sphere-viewer/cubemap-adapter:build: CJS dist/index.cjs     12.23 KB
@photo-sphere-viewer/cubemap-adapter:build: CJS dist/index.cjs.map 23.18 KB
@photo-sphere-viewer/cubemap-adapter:build: CJS ⚡️ Build success in 343ms
@photo-sphere-viewer/cubemap-adapter:build: ESM dist/index.module.js     10.96 KB
@photo-sphere-viewer/overlays-plugin:build: ESM dist/index.module.js     7.42 KB
@photo-sphere-viewer/overlays-plugin:build: ESM dist/index.module.js.map 14.40 KB
@photo-sphere-viewer/overlays-plugin:build: ESM ⚡️ Build success in 349ms
@photo-sphere-viewer/cubemap-adapter:build: ESM dist/index.module.js.map 23.09 KB
@photo-sphere-viewer/cubemap-adapter:build: ESM ⚡️ Build success in 346ms
@photo-sphere-viewer/cubemap-tiles-adapter:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/cubemap-tiles-adapter/dist/index.cjs.map
@photo-sphere-viewer/cubemap-tiles-adapter:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/cubemap-tiles-adapter/dist/index.module.js.map
@photo-sphere-viewer/cubemap-video-adapter:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/cubemap-video-adapter/dist/index.module.js.map
@photo-sphere-viewer/cubemap-video-adapter:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/cubemap-video-adapter:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/cubemap-tiles-adapter:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/cubemap-tiles-adapter:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/cubemap-tiles-adapter:build: ASSET dist/README.md 838 B
@photo-sphere-viewer/cubemap-tiles-adapter:build: ASSET dist/package.json 787 B
@photo-sphere-viewer/cubemap-video-adapter:build: ASSET dist/README.md 838 B
@photo-sphere-viewer/cubemap-video-adapter:build: ASSET dist/package.json 734 B
@photo-sphere-viewer/cubemap-tiles-adapter:build: CJS dist/index.cjs     19.75 KB
@photo-sphere-viewer/cubemap-tiles-adapter:build: CJS dist/index.cjs.map 39.36 KB
@photo-sphere-viewer/cubemap-video-adapter:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/cubemap-video-adapter/dist/index.cjs.map
@photo-sphere-viewer/cubemap-tiles-adapter:build: CJS ⚡️ Build success in 342ms
@photo-sphere-viewer/cubemap-tiles-adapter:build: ESM dist/index.module.js     18.45 KB
@photo-sphere-viewer/cubemap-tiles-adapter:build: ESM dist/index.module.js.map 39.33 KB
@photo-sphere-viewer/cubemap-tiles-adapter:build: ESM ⚡️ Build success in 349ms
@photo-sphere-viewer/cubemap-video-adapter:build: ESM dist/index.module.js     7.85 KB
@photo-sphere-viewer/cubemap-video-adapter:build: ESM dist/index.module.js.map 17.54 KB
@photo-sphere-viewer/cubemap-video-adapter:build: ESM ⚡️ Build success in 327ms
@photo-sphere-viewer/cubemap-video-adapter:build: CJS dist/index.cjs     8.94 KB
@photo-sphere-viewer/cubemap-video-adapter:build: CJS dist/index.cjs.map 17.67 KB
@photo-sphere-viewer/cubemap-video-adapter:build: CJS ⚡️ Build success in 329ms
@photo-sphere-viewer/gallery-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/gallery-plugin/dist/index.css.map
@photo-sphere-viewer/gallery-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/gallery-plugin/dist/index.module.js.map
@photo-sphere-viewer/resolution-plugin:build: DTS Build start
@photo-sphere-viewer/gallery-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/gallery-plugin/dist/index.css.map
@photo-sphere-viewer/gallery-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/gallery-plugin/dist/index.cjs.map
@photo-sphere-viewer/gallery-plugin:build: SCSS dist/index.scss 8.5 kB
@photo-sphere-viewer/settings-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/settings-plugin/dist/index.css.map
@photo-sphere-viewer/settings-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/settings-plugin/dist/index.cjs.map
@photo-sphere-viewer/settings-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/settings-plugin/dist/index.css.map
@photo-sphere-viewer/settings-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/settings-plugin/dist/index.module.js.map
@photo-sphere-viewer/gallery-plugin:build: CJS dist/index.cjs     14.94 KB
@photo-sphere-viewer/gallery-plugin:build: CJS dist/index.css     2.58 KB
@photo-sphere-viewer/gallery-plugin:build: CJS dist/index.cjs.map 26.07 KB
@photo-sphere-viewer/gallery-plugin:build: CJS dist/index.css.map 10.02 KB
@photo-sphere-viewer/gallery-plugin:build: CJS ⚡️ Build success in 554ms
@photo-sphere-viewer/gallery-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/gallery-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/gallery-plugin:build: ASSET dist/README.md 788 B
@photo-sphere-viewer/gallery-plugin:build: ASSET dist/package.json 774 B
@photo-sphere-viewer/settings-plugin:build: SCSS dist/index.scss 6.97 kB
@photo-sphere-viewer/settings-plugin:build: CJS dist/index.cjs     15.92 KB
@photo-sphere-viewer/settings-plugin:build: CJS dist/index.css     1.56 KB
@photo-sphere-viewer/settings-plugin:build: CJS dist/index.cjs.map 27.14 KB
@photo-sphere-viewer/settings-plugin:build: CJS dist/index.css.map 7.90 KB
@photo-sphere-viewer/settings-plugin:build: CJS ⚡️ Build success in 456ms
@photo-sphere-viewer/settings-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/settings-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/settings-plugin:build: ASSET dist/README.md 816 B
@photo-sphere-viewer/settings-plugin:build: ASSET dist/package.json 796 B
@photo-sphere-viewer/gallery-plugin:build: ESM dist/index.module.js     13.89 KB
@photo-sphere-viewer/gallery-plugin:build: ESM dist/index.css           2.58 KB
@photo-sphere-viewer/gallery-plugin:build: ESM dist/index.module.js.map 26.02 KB
@photo-sphere-viewer/gallery-plugin:build: ESM dist/index.css.map       10.02 KB
@photo-sphere-viewer/gallery-plugin:build: ESM ⚡️ Build success in 586ms
@photo-sphere-viewer/settings-plugin:build: ESM dist/index.module.js     14.85 KB
@photo-sphere-viewer/settings-plugin:build: ESM dist/index.css           1.56 KB
@photo-sphere-viewer/settings-plugin:build: ESM dist/index.module.js.map 27.09 KB
@photo-sphere-viewer/settings-plugin:build: ESM dist/index.css.map       7.90 KB
@photo-sphere-viewer/settings-plugin:build: ESM ⚡️ Build success in 496ms
@photo-sphere-viewer/markers-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/markers-plugin/dist/index.css.map
@photo-sphere-viewer/markers-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/markers-plugin/dist/index.cjs.map
@photo-sphere-viewer/markers-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/markers-plugin/dist/index.css.map
@photo-sphere-viewer/markers-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/markers-plugin/dist/index.module.js.map
@photo-sphere-viewer/markers-plugin:build: CJS dist/index.cjs     80.44 KB
@photo-sphere-viewer/markers-plugin:build: CJS dist/index.css     1006.00 B
@photo-sphere-viewer/markers-plugin:build: CJS dist/index.cjs.map 158.95 KB
@photo-sphere-viewer/markers-plugin:build: CJS dist/index.css.map 6.07 KB
@photo-sphere-viewer/markers-plugin:build: CJS ⚡️ Build success in 580ms
@photo-sphere-viewer/markers-plugin:build: SCSS dist/index.scss 5.63 kB
@photo-sphere-viewer/markers-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/markers-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/markers-plugin:build: ASSET dist/README.md 799 B
@photo-sphere-viewer/markers-plugin:build: ASSET dist/package.json 844 B
@photo-sphere-viewer/markers-plugin:build: ESM dist/index.css           1006.00 B
@photo-sphere-viewer/markers-plugin:build: ESM dist/index.module.js     78.29 KB
@photo-sphere-viewer/markers-plugin:build: ESM dist/index.css.map       6.07 KB
@photo-sphere-viewer/markers-plugin:build: ESM dist/index.module.js.map 159.30 KB
@photo-sphere-viewer/markers-plugin:build: ESM ⚡️ Build success in 613ms
@photo-sphere-viewer/gyroscope-plugin:build: DTS Build start
@photo-sphere-viewer/gallery-plugin:build: DTS Build start
@photo-sphere-viewer/overlays-plugin:build: DTS Build start
@photo-sphere-viewer/cubemap-adapter:build: DTS Build start
@photo-sphere-viewer/markers-plugin:build: DTS Build start
@photo-sphere-viewer/core:build: DTS Build start
@photo-sphere-viewer/core:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/core/dist/index.css.map
@photo-sphere-viewer/core:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/core/dist/index.module.js.map
@photo-sphere-viewer/core:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/core/dist/index.css.map
@photo-sphere-viewer/core:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/core/dist/index.cjs.map
@photo-sphere-viewer/cubemap-tiles-adapter:build: DTS Build start
@photo-sphere-viewer/cubemap-video-adapter:build: DTS Build start
@photo-sphere-viewer/core:build: CJS dist/index.css     11.68 KB
@photo-sphere-viewer/core:build: CJS dist/index.cjs     194.86 KB
@photo-sphere-viewer/core:build: CJS dist/index.css.map 27.40 KB
@photo-sphere-viewer/core:build: CJS dist/index.cjs.map 402.10 KB
@photo-sphere-viewer/core:build: CJS ⚡️ Build success in 815ms
@photo-sphere-viewer/core:build: SCSS dist/index.scss 19.3 kB
@photo-sphere-viewer/core:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/core:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/core:build: ASSET dist/README.md 670 B
@photo-sphere-viewer/core:build: ASSET dist/package.json 859 B
@photo-sphere-viewer/settings-plugin:build: DTS Build start
@photo-sphere-viewer/core:build: ESM dist/index.css           11.68 KB
@photo-sphere-viewer/core:build: ESM dist/index.css.map       27.40 KB
@photo-sphere-viewer/core:build: ESM dist/index.module.js     193.21 KB
@photo-sphere-viewer/core:build: ESM dist/index.module.js.map 402.48 KB
@photo-sphere-viewer/core:build: ESM ⚡️ Build success in 842ms
@photo-sphere-viewer/resolution-plugin:build: DTS ⚡️ Build success in 6328ms
@photo-sphere-viewer/resolution-plugin:build: DTS dist/index.d.mts 2.44 KB
@photo-sphere-viewer/resolution-plugin:build: DTS dist/index.d.ts  2.44 KB
@photo-sphere-viewer/stereo-plugin:build: cache miss, executing 8967a31a47d07b2d
@photo-sphere-viewer/cubemap-video-adapter:build: DTS ⚡️ Build success in 6229ms
@photo-sphere-viewer/cubemap-video-adapter:build: DTS dist/index.d.mts 2.75 KB
@photo-sphere-viewer/cubemap-video-adapter:build: DTS dist/index.d.ts  2.75 KB
@photo-sphere-viewer/gyroscope-plugin:build: DTS ⚡️ Build success in 6364ms
@photo-sphere-viewer/gyroscope-plugin:build: DTS dist/index.d.mts 2.91 KB
@photo-sphere-viewer/gyroscope-plugin:build: DTS dist/index.d.ts  2.91 KB
@photo-sphere-viewer/cubemap-adapter:build: DTS ⚡️ Build success in 6386ms
@photo-sphere-viewer/cubemap-adapter:build: DTS dist/index.d.mts 3.14 KB
@photo-sphere-viewer/cubemap-adapter:build: DTS dist/index.d.ts  3.14 KB
@photo-sphere-viewer/autorotate-plugin:build: cache miss, executing 9fd692e8d2c0d4ca
@photo-sphere-viewer/plan-plugin:build: cache miss, executing 3c9e7b6ce4b724cb
$ tsup
@photo-sphere-viewer/map-plugin:build: cache miss, executing 29d175e856456071
@photo-sphere-viewer/settings-plugin:build: DTS ⚡️ Build success in 6494ms
@photo-sphere-viewer/settings-plugin:build: DTS dist/index.d.mts 3.64 KB
@photo-sphere-viewer/settings-plugin:build: DTS dist/index.d.ts  3.64 KB
@photo-sphere-viewer/cubemap-tiles-adapter:build: DTS ⚡️ Build success in 6594ms
@photo-sphere-viewer/cubemap-tiles-adapter:build: DTS dist/index.d.mts 4.25 KB
@photo-sphere-viewer/cubemap-tiles-adapter:build: DTS dist/index.d.ts  4.25 KB
@photo-sphere-viewer/equirectangular-video-adapter:build: cache miss, executing b905193c2e799e31
@photo-sphere-viewer/visible-range-plugin:build: cache miss, executing dfb7134f85793325
$ tsup
@photo-sphere-viewer/overlays-plugin:build: DTS ⚡️ Build success in 6783ms
@photo-sphere-viewer/overlays-plugin:build: DTS dist/index.d.mts 3.10 KB
@photo-sphere-viewer/overlays-plugin:build: DTS dist/index.d.ts  3.10 KB
$ tsup
@photo-sphere-viewer/compass-plugin:build: cache miss, executing d88bf44b590b78b1
$ tsup
$ tsup
$ tsup
@photo-sphere-viewer/gallery-plugin:build: DTS ⚡️ Build success in 6977ms
@photo-sphere-viewer/gallery-plugin:build: DTS dist/index.d.mts 3.29 KB
@photo-sphere-viewer/gallery-plugin:build: DTS dist/index.d.ts  3.29 KB
@photo-sphere-viewer/core:build: DTS ⚡️ Build success in 6922ms
@photo-sphere-viewer/core:build: DTS dist/index.d.mts 78.49 KB
@photo-sphere-viewer/core:build: DTS dist/index.d.ts  78.49 KB
@photo-sphere-viewer/virtual-tour-plugin:build: cache miss, executing 761f48b355b7a626
@photo-sphere-viewer/video-plugin:build: cache miss, executing 5dd85aa5f2a07d59
$ tsup
$ tsup
$ tsup
@photo-sphere-viewer/markers-plugin:build: DTS ⚡️ Build success in 7161ms
@photo-sphere-viewer/markers-plugin:build: DTS dist/index.d.mts 18.69 KB
@photo-sphere-viewer/markers-plugin:build: DTS dist/index.d.ts  18.69 KB
@photo-sphere-viewer/equirectangular-tiles-adapter:build: cache miss, executing 5ee702c4be4c254e
$ tsup
@photo-sphere-viewer/autorotate-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/autorotate-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/autorotate-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/autorotate-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/autorotate-plugin/tsup.config.ts
@photo-sphere-viewer/autorotate-plugin:build: CLI Target: es2021
@photo-sphere-viewer/plan-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/autorotate-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/autorotate-plugin:build: ESM Build start
@photo-sphere-viewer/autorotate-plugin:build: CJS Build start
@photo-sphere-viewer/plan-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/plan-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/plan-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/plan-plugin/tsup.config.ts
@photo-sphere-viewer/plan-plugin:build: CLI Target: es2021
@photo-sphere-viewer/plan-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/plan-plugin:build: ESM Build start
@photo-sphere-viewer/plan-plugin:build: CJS Build start
@photo-sphere-viewer/stereo-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/stereo-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/stereo-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/stereo-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/stereo-plugin/tsup.config.ts
@photo-sphere-viewer/stereo-plugin:build: CLI Target: es2021
@photo-sphere-viewer/stereo-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/stereo-plugin:build: ESM Build start
@photo-sphere-viewer/stereo-plugin:build: CJS Build start
@photo-sphere-viewer/map-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/equirectangular-video-adapter:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/map-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/map-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/map-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/map-plugin/tsup.config.ts
@photo-sphere-viewer/equirectangular-video-adapter:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/equirectangular-video-adapter:build: CLI tsup v8.3.0
@photo-sphere-viewer/equirectangular-video-adapter:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/equirectangular-video-adapter/tsup.config.ts
@photo-sphere-viewer/map-plugin:build: CLI Target: es2021
@photo-sphere-viewer/map-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/map-plugin:build: ESM Build start
@photo-sphere-viewer/map-plugin:build: CJS Build start
@photo-sphere-viewer/equirectangular-video-adapter:build: CLI Target: es2021
@photo-sphere-viewer/equirectangular-video-adapter:build: CLI Cleaning output folder
@photo-sphere-viewer/equirectangular-video-adapter:build: ESM Build start
@photo-sphere-viewer/equirectangular-video-adapter:build: CJS Build start
@photo-sphere-viewer/compass-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/compass-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/compass-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/compass-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/compass-plugin/tsup.config.ts
@photo-sphere-viewer/compass-plugin:build: CLI Target: es2021
@photo-sphere-viewer/compass-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/autorotate-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/autorotate-plugin/dist/index.module.js.map
@photo-sphere-viewer/compass-plugin:build: ESM Build start
@photo-sphere-viewer/compass-plugin:build: CJS Build start
@photo-sphere-viewer/autorotate-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/autorotate-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/autorotate-plugin:build: ASSET dist/README.md 818 B
@photo-sphere-viewer/autorotate-plugin:build: ASSET dist/package.json 774 B
@photo-sphere-viewer/autorotate-plugin:build: ESM dist/index.module.js     16.98 KB
@photo-sphere-viewer/autorotate-plugin:build: ESM dist/index.module.js.map 32.88 KB
@photo-sphere-viewer/autorotate-plugin:build: ESM ⚡️ Build success in 228ms
@photo-sphere-viewer/visible-range-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/autorotate-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/autorotate-plugin/dist/index.cjs.map
@photo-sphere-viewer/visible-range-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/visible-range-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/visible-range-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/visible-range-plugin/tsup.config.ts
@photo-sphere-viewer/autorotate-plugin:build: CJS dist/index.cjs     18.21 KB
@photo-sphere-viewer/autorotate-plugin:build: CJS dist/index.cjs.map 32.95 KB
@photo-sphere-viewer/autorotate-plugin:build: CJS ⚡️ Build success in 238ms
@photo-sphere-viewer/visible-range-plugin:build: CLI Target: es2021
@photo-sphere-viewer/visible-range-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/visible-range-plugin:build: ESM Build start
@photo-sphere-viewer/visible-range-plugin:build: CJS Build start
@photo-sphere-viewer/stereo-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/stereo-plugin/dist/index.module.js.map
@photo-sphere-viewer/stereo-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/stereo-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/stereo-plugin:build: ASSET dist/README.md 780 B
@photo-sphere-viewer/stereo-plugin:build: ASSET dist/package.json 778 B
@photo-sphere-viewer/stereo-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/stereo-plugin/dist/index.cjs.map
@photo-sphere-viewer/stereo-plugin:build: CJS dist/index.cjs     12.49 KB
@photo-sphere-viewer/stereo-plugin:build: CJS dist/index.cjs.map 20.90 KB
@photo-sphere-viewer/stereo-plugin:build: CJS ⚡️ Build success in 287ms
@photo-sphere-viewer/stereo-plugin:build: ESM dist/index.module.js     11.47 KB
@photo-sphere-viewer/stereo-plugin:build: ESM dist/index.module.js.map 20.84 KB
@photo-sphere-viewer/stereo-plugin:build: ESM ⚡️ Build success in 293ms
@photo-sphere-viewer/plan-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/plan-plugin/dist/index.css.map
@photo-sphere-viewer/plan-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/plan-plugin/dist/index.cjs.map
@photo-sphere-viewer/equirectangular-video-adapter:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/equirectangular-video-adapter/dist/index.cjs.map
@photo-sphere-viewer/plan-plugin:build: CJS dist/index.cjs     29.28 KB
@photo-sphere-viewer/plan-plugin:build: CJS dist/index.css     2.92 KB
@photo-sphere-viewer/plan-plugin:build: CJS dist/index.cjs.map 53.11 KB
@photo-sphere-viewer/plan-plugin:build: CJS dist/index.css.map 10.47 KB
@photo-sphere-viewer/plan-plugin:build: CJS ⚡️ Build success in 395ms
@photo-sphere-viewer/plan-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/plan-plugin/dist/index.css.map
@photo-sphere-viewer/plan-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/plan-plugin/dist/index.module.js.map
@photo-sphere-viewer/equirectangular-video-adapter:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/equirectangular-video-adapter/dist/index.module.js.map
@photo-sphere-viewer/equirectangular-video-adapter:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/equirectangular-video-adapter:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/equirectangular-video-adapter:build: ASSET dist/README.md 910 B
@photo-sphere-viewer/equirectangular-video-adapter:build: ASSET dist/package.json 758 B
@photo-sphere-viewer/plan-plugin:build: SCSS dist/index.scss 8.71 kB
@photo-sphere-viewer/plan-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/plan-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/plan-plugin:build: ASSET dist/README.md 764 B
@photo-sphere-viewer/plan-plugin:build: ASSET dist/package.json 862 B
@photo-sphere-viewer/plan-plugin:build: ESM dist/index.css           2.92 KB
@photo-sphere-viewer/plan-plugin:build: ESM dist/index.module.js     28.00 KB
@photo-sphere-viewer/plan-plugin:build: ESM dist/index.css.map       10.47 KB
@photo-sphere-viewer/equirectangular-video-adapter:build: CJS dist/index.cjs     6.83 KB
@photo-sphere-viewer/equirectangular-video-adapter:build: CJS dist/index.cjs.map 13.15 KB
@photo-sphere-viewer/equirectangular-video-adapter:build: CJS ⚡️ Build success in 292ms
@photo-sphere-viewer/plan-plugin:build: ESM dist/index.module.js.map 53.14 KB
@photo-sphere-viewer/plan-plugin:build: ESM ⚡️ Build success in 422ms
@photo-sphere-viewer/equirectangular-video-adapter:build: ESM dist/index.module.js     5.75 KB
@photo-sphere-viewer/equirectangular-video-adapter:build: ESM dist/index.module.js.map 12.99 KB
@photo-sphere-viewer/virtual-tour-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/equirectangular-video-adapter:build: ESM ⚡️ Build success in 300ms
@photo-sphere-viewer/virtual-tour-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/virtual-tour-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/virtual-tour-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/virtual-tour-plugin/tsup.config.ts
@photo-sphere-viewer/virtual-tour-plugin:build: CLI Target: es2021
@photo-sphere-viewer/virtual-tour-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/virtual-tour-plugin:build: ESM Build start
@photo-sphere-viewer/virtual-tour-plugin:build: CJS Build start
@photo-sphere-viewer/autorotate-plugin:build: DTS Build start
@photo-sphere-viewer/stereo-plugin:build: DTS Build start
@photo-sphere-viewer/video-plugin:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/video-plugin:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/video-plugin:build: CLI tsup v8.3.0
@photo-sphere-viewer/video-plugin:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/video-plugin/tsup.config.ts
@photo-sphere-viewer/plan-plugin:build: DTS Build start
@photo-sphere-viewer/visible-range-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/visible-range-plugin/dist/index.module.js.map
@photo-sphere-viewer/visible-range-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/visible-range-plugin/dist/index.cjs.map
@photo-sphere-viewer/visible-range-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/visible-range-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/visible-range-plugin:build: ASSET dist/README.md 824 B
@photo-sphere-viewer/visible-range-plugin:build: ASSET dist/package.json 726 B
@photo-sphere-viewer/video-plugin:build: CLI Target: es2021
@photo-sphere-viewer/video-plugin:build: CLI Cleaning output folder
@photo-sphere-viewer/video-plugin:build: ESM Build start
@photo-sphere-viewer/video-plugin:build: CJS Build start
@photo-sphere-viewer/visible-range-plugin:build: CJS dist/index.cjs     9.60 KB
@photo-sphere-viewer/visible-range-plugin:build: CJS dist/index.cjs.map 16.88 KB
@photo-sphere-viewer/visible-range-plugin:build: CJS ⚡️ Build success in 304ms
@photo-sphere-viewer/visible-range-plugin:build: ESM dist/index.module.js     8.22 KB
@photo-sphere-viewer/visible-range-plugin:build: ESM dist/index.module.js.map 16.73 KB
@photo-sphere-viewer/visible-range-plugin:build: ESM ⚡️ Build success in 307ms
@photo-sphere-viewer/compass-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/compass-plugin/dist/index.css.map
@photo-sphere-viewer/compass-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/compass-plugin/dist/index.module.js.map
@photo-sphere-viewer/compass-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/compass-plugin/dist/index.css.map
@photo-sphere-viewer/compass-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/compass-plugin/dist/index.cjs.map
@photo-sphere-viewer/compass-plugin:build: SCSS dist/index.scss 5.66 kB
@photo-sphere-viewer/compass-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/compass-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/compass-plugin:build: ASSET dist/README.md 828 B
@photo-sphere-viewer/compass-plugin:build: ASSET dist/package.json 814 B
@photo-sphere-viewer/compass-plugin:build: CJS dist/index.css     1.11 KB
@photo-sphere-viewer/compass-plugin:build: CJS dist/index.cjs     11.15 KB
@photo-sphere-viewer/compass-plugin:build: CJS dist/index.css.map 1.65 KB
@photo-sphere-viewer/compass-plugin:build: CJS dist/index.cjs.map 19.89 KB
@photo-sphere-viewer/compass-plugin:build: CJS ⚡️ Build success in 447ms
@photo-sphere-viewer/map-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/map-plugin/dist/index.css.map
@photo-sphere-viewer/map-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/map-plugin/dist/index.module.js.map
@photo-sphere-viewer/map-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/map-plugin/dist/index.css.map
@photo-sphere-viewer/map-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/map-plugin/dist/index.cjs.map
@photo-sphere-viewer/compass-plugin:build: ESM dist/index.css           1.11 KB
@photo-sphere-viewer/compass-plugin:build: ESM dist/index.module.js     10.02 KB
@photo-sphere-viewer/compass-plugin:build: ESM dist/index.css.map       1.65 KB
@photo-sphere-viewer/compass-plugin:build: ESM dist/index.module.js.map 19.71 KB
@photo-sphere-viewer/compass-plugin:build: ESM ⚡️ Build success in 467ms
@photo-sphere-viewer/map-plugin:build: SCSS dist/index.scss 9.9 kB
@photo-sphere-viewer/map-plugin:build: CJS dist/index.cjs     45.88 KB
@photo-sphere-viewer/map-plugin:build: CJS dist/index.css     3.61 KB
@photo-sphere-viewer/map-plugin:build: CJS dist/index.cjs.map 82.85 KB
@photo-sphere-viewer/map-plugin:build: CJS dist/index.css.map 12.14 KB
@photo-sphere-viewer/map-plugin:build: CJS ⚡️ Build success in 561ms
@photo-sphere-viewer/map-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/map-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/map-plugin:build: ASSET dist/README.md 761 B
@photo-sphere-viewer/map-plugin:build: ASSET dist/package.json 802 B
@photo-sphere-viewer/map-plugin:build: DTS Build start
@photo-sphere-viewer/map-plugin:build: ESM dist/index.css           3.61 KB
@photo-sphere-viewer/map-plugin:build: ESM dist/index.module.js     44.21 KB
@photo-sphere-viewer/map-plugin:build: ESM dist/index.css.map       12.14 KB
@photo-sphere-viewer/map-plugin:build: ESM dist/index.module.js.map 82.96 KB
@photo-sphere-viewer/map-plugin:build: ESM ⚡️ Build success in 608ms
@photo-sphere-viewer/equirectangular-video-adapter:build: DTS Build start
@photo-sphere-viewer/compass-plugin:build: DTS Build start
@photo-sphere-viewer/visible-range-plugin:build: DTS Build start
@photo-sphere-viewer/virtual-tour-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/virtual-tour-plugin/dist/index.css.map
@photo-sphere-viewer/virtual-tour-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/virtual-tour-plugin/dist/index.module.js.map
@photo-sphere-viewer/virtual-tour-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/virtual-tour-plugin/dist/index.css.map
@photo-sphere-viewer/virtual-tour-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/virtual-tour-plugin/dist/index.cjs.map
@photo-sphere-viewer/virtual-tour-plugin:build: SCSS dist/index.scss 7.59 kB
@photo-sphere-viewer/virtual-tour-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/virtual-tour-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/virtual-tour-plugin:build: ASSET dist/README.md 843 B
@photo-sphere-viewer/virtual-tour-plugin:build: ASSET dist/package.json 799 B
@photo-sphere-viewer/video-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/video-plugin/dist/index.css.map
@photo-sphere-viewer/video-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/video-plugin/dist/index.cjs.map
@photo-sphere-viewer/virtual-tour-plugin:build: CJS dist/index.css     2.44 KB
@photo-sphere-viewer/virtual-tour-plugin:build: CJS dist/index.cjs     47.54 KB
@photo-sphere-viewer/virtual-tour-plugin:build: CJS dist/index.css.map 9.00 KB
@photo-sphere-viewer/virtual-tour-plugin:build: CJS dist/index.cjs.map 91.61 KB
@photo-sphere-viewer/virtual-tour-plugin:build: CJS ⚡️ Build success in 506ms
@photo-sphere-viewer/video-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/video-plugin/dist/index.css.map
@photo-sphere-viewer/video-plugin:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/video-plugin/dist/index.module.js.map
@photo-sphere-viewer/video-plugin:build: CJS dist/index.cjs     24.81 KB
@photo-sphere-viewer/video-plugin:build: CJS dist/index.css     3.31 KB
@photo-sphere-viewer/video-plugin:build: CJS dist/index.css.map 12.14 KB
@photo-sphere-viewer/video-plugin:build: CJS dist/index.cjs.map 45.04 KB
@photo-sphere-viewer/video-plugin:build: CJS ⚡️ Build success in 424ms
@photo-sphere-viewer/virtual-tour-plugin:build: ESM dist/index.css           2.44 KB
@photo-sphere-viewer/virtual-tour-plugin:build: ESM dist/index.module.js     45.78 KB
@photo-sphere-viewer/virtual-tour-plugin:build: ESM dist/index.css.map       9.00 KB
@photo-sphere-viewer/virtual-tour-plugin:build: ESM dist/index.module.js.map 91.72 KB
@photo-sphere-viewer/virtual-tour-plugin:build: ESM ⚡️ Build success in 515ms
@photo-sphere-viewer/video-plugin:build: SCSS dist/index.scss 10.2 kB
@photo-sphere-viewer/video-plugin:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/video-plugin:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/video-plugin:build: ASSET dist/README.md 755 B
@photo-sphere-viewer/video-plugin:build: ASSET dist/package.json 753 B
@photo-sphere-viewer/video-plugin:build: ESM dist/index.css           3.31 KB
@photo-sphere-viewer/video-plugin:build: ESM dist/index.module.js     23.54 KB
@photo-sphere-viewer/video-plugin:build: ESM dist/index.module.js.map 45.26 KB
@photo-sphere-viewer/video-plugin:build: ESM dist/index.css.map       12.14 KB
@photo-sphere-viewer/video-plugin:build: ESM ⚡️ Build success in 440ms
@photo-sphere-viewer/virtual-tour-plugin:build: DTS Build start
@photo-sphere-viewer/equirectangular-tiles-adapter:build: CLI Building entry: src/index.ts
@photo-sphere-viewer/equirectangular-tiles-adapter:build: CLI Using tsconfig: tsconfig.json
@photo-sphere-viewer/equirectangular-tiles-adapter:build: CLI tsup v8.3.0
@photo-sphere-viewer/equirectangular-tiles-adapter:build: CLI Using tsup config: /workspace/Submodules/Photo-Sphere-Viewer/packages/equirectangular-tiles-adapter/tsup.config.ts
@photo-sphere-viewer/equirectangular-tiles-adapter:build: CLI Target: es2021
@photo-sphere-viewer/equirectangular-tiles-adapter:build: CLI Cleaning output folder
@photo-sphere-viewer/equirectangular-tiles-adapter:build: ESM Build start
@photo-sphere-viewer/equirectangular-tiles-adapter:build: CJS Build start
@photo-sphere-viewer/video-plugin:build: DTS Build start
@photo-sphere-viewer/equirectangular-tiles-adapter:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/equirectangular-tiles-adapter/dist/index.module.js.map
@photo-sphere-viewer/equirectangular-tiles-adapter:build: ASSET dist/LICENSE 1.12 kB
@photo-sphere-viewer/equirectangular-tiles-adapter:build: ASSET dist/.npmrc 109 B
@photo-sphere-viewer/equirectangular-tiles-adapter:build: ASSET dist/README.md 903 B
@photo-sphere-viewer/equirectangular-tiles-adapter:build: ASSET dist/package.json 751 B
@photo-sphere-viewer/equirectangular-tiles-adapter:build: MAP Fix /workspace/Submodules/Photo-Sphere-Viewer/packages/equirectangular-tiles-adapter/dist/index.cjs.map
@photo-sphere-viewer/equirectangular-tiles-adapter:build: CJS dist/index.cjs     21.28 KB
@photo-sphere-viewer/equirectangular-tiles-adapter:build: CJS dist/index.cjs.map 43.81 KB
@photo-sphere-viewer/equirectangular-tiles-adapter:build: CJS ⚡️ Build success in 233ms
@photo-sphere-viewer/equirectangular-tiles-adapter:build: ESM dist/index.module.js     20.00 KB
@photo-sphere-viewer/equirectangular-tiles-adapter:build: ESM dist/index.module.js.map 43.75 KB
@photo-sphere-viewer/equirectangular-tiles-adapter:build: ESM ⚡️ Build success in 235ms
@photo-sphere-viewer/equirectangular-tiles-adapter:build: DTS Build start
@photo-sphere-viewer/equirectangular-video-adapter:build: DTS ⚡️ Build success in 5936ms
@photo-sphere-viewer/equirectangular-video-adapter:build: DTS dist/index.d.mts 3.12 KB
@photo-sphere-viewer/equirectangular-video-adapter:build: DTS dist/index.d.ts  3.12 KB
@photo-sphere-viewer/autorotate-plugin:build: DTS ⚡️ Build success in 6595ms
@photo-sphere-viewer/autorotate-plugin:build: DTS dist/index.d.mts 4.26 KB
@photo-sphere-viewer/autorotate-plugin:build: DTS dist/index.d.ts  4.26 KB
@photo-sphere-viewer/compass-plugin:build: DTS ⚡️ Build success in 6287ms
@photo-sphere-viewer/compass-plugin:build: DTS dist/index.d.mts 2.37 KB
@photo-sphere-viewer/compass-plugin:build: DTS dist/index.d.ts  2.37 KB
@photo-sphere-viewer/plan-plugin:build: DTS ⚡️ Build success in 7009ms
@photo-sphere-viewer/plan-plugin:build: DTS dist/index.d.mts 8.39 KB
@photo-sphere-viewer/plan-plugin:build: DTS dist/index.d.ts  8.39 KB
@photo-sphere-viewer/visible-range-plugin:build: DTS ⚡️ Build success in 6767ms
@photo-sphere-viewer/visible-range-plugin:build: DTS dist/index.d.mts 2.11 KB
@photo-sphere-viewer/visible-range-plugin:build: DTS dist/index.d.ts  2.11 KB
@photo-sphere-viewer/stereo-plugin:build: DTS ⚡️ Build success in 7507ms
@photo-sphere-viewer/stereo-plugin:build: DTS dist/index.d.mts 1.89 KB
@photo-sphere-viewer/stereo-plugin:build: DTS dist/index.d.ts  1.89 KB
@photo-sphere-viewer/map-plugin:build: DTS ⚡️ Build success in 7359ms
@photo-sphere-viewer/map-plugin:build: DTS dist/index.d.mts 9.20 KB
@photo-sphere-viewer/map-plugin:build: DTS dist/index.d.ts  9.20 KB
@photo-sphere-viewer/video-plugin:build: DTS ⚡️ Build success in 6918ms
@photo-sphere-viewer/video-plugin:build: DTS dist/index.d.mts 4.21 KB
@photo-sphere-viewer/video-plugin:build: DTS dist/index.d.ts  4.21 KB
@photo-sphere-viewer/equirectangular-tiles-adapter:build: DTS ⚡️ Build success in 6534ms
@photo-sphere-viewer/equirectangular-tiles-adapter:build: DTS dist/index.d.mts 4.80 KB
@photo-sphere-viewer/equirectangular-tiles-adapter:build: DTS dist/index.d.ts  4.80 KB
@photo-sphere-viewer/virtual-tour-plugin:build: DTS ⚡️ Build success in 7386ms
@photo-sphere-viewer/virtual-tour-plugin:build: DTS dist/index.d.mts 11.62 KB
@photo-sphere-viewer/virtual-tour-plugin:build: DTS dist/index.d.ts  11.62 KB

 Tasks:    20 successful, 20 total
Cached:    0 cached, 20 total
  Time:    18.16s 

Done in 18.33s.

I see no errors ... results are the same

mistic100 commented 1 week ago

Did you openned the built files ? Did you but a breakpoint where it looks for this token ?

FIY in the source it is here https://github.com/mistic100/Photo-Sphere-Viewer/blob/main/packages/virtual-tour-plugin/src/VirtualTourPlugin.ts#L125 once built it should be replaced by the version if the package.json (so 0.0.0 when built in dev mode)

Example (bottom of the file) https://cdn.jsdelivr.net/npm/@photo-sphere-viewer/virtual-tour-plugin@5.11.0/index.module.js


Probably your production build chain is picking the source file for some reason, and without the constant definition, the token is left untouched.

Zambiorix commented 1 week ago

Thank you for your feedback Unfortunately I have not been able to investigate further. I have put it on my TODO list when I have more time

When do you think 5.11.1 will be released?

mistic100 commented 1 week ago

I don't

Zambiorix commented 1 week ago

I will continue working on my fork and won't bother you again. Thank you

Zambiorix commented 1 week ago

Changing link into file dependencies made it all work. Also publishing to a production environment works now. Not sure why link is giving me so much trouble, I use it all the time for various projects.

This doesn't work:

  "dependencies": {
    "@photo-sphere-viewer/core": "link:../../../../Submodules/Photo-Sphere-Viewer/packages/core/dist",
    "@photo-sphere-viewer/equirectangular-tiles-adapter": "link:../../../../Submodules/Photo-Sphere-Viewer/packages/equirectangular-tiles-adapter/dist",
    "@photo-sphere-viewer/gallery-plugin": "link:../../../../Submodules/Photo-Sphere-Viewer/packages/gallery-plugin/dist",
    "@photo-sphere-viewer/markers-plugin": "link:../../../../Submodules/Photo-Sphere-Viewer/packages/markers-plugin/dist",
    "@photo-sphere-viewer/virtual-tour-plugin": "link:../../../../Submodules/Photo-Sphere-Viewer/packages/virtual-tour-plugin/dist",

This works:

  "dependencies": {
    "@photo-sphere-viewer/core": "file:../../../../Submodules/Photo-Sphere-Viewer/packages/core/dist",
    "@photo-sphere-viewer/equirectangular-tiles-adapter": "file:../../../../Submodules/Photo-Sphere-Viewer/packages/equirectangular-tiles-adapter/dist",
    "@photo-sphere-viewer/gallery-plugin": "file:../../../../Submodules/Photo-Sphere-Viewer/packages/gallery-plugin/dist",
    "@photo-sphere-viewer/markers-plugin": "file:../../../../Submodules/Photo-Sphere-Viewer/packages/markers-plugin/dist",
    "@photo-sphere-viewer/virtual-tour-plugin": "file:../../../../Submodules/Photo-Sphere-Viewer/packages/virtual-tour-plugin/dist",