Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(examples/vite): fix vite example when using a real Neuroglancer i…
…nstall The vite examples previously worked only when using a symlinked Neuroglancer (as in the tests used in this repo), but not when the Neuroglancer dependency was installed normally. The vite dev server special-cases symlinked dependencies in a way that made its optimizeDeps step work when Neuroglancer is symlinked in `node_modules` but not otherwise. Additional optimizeDeps options have now been added to the vite example configs to ensure the build works when Neuroglancer is installed as a normal dependency. Fixes #683
- Loading branch information