Open Atlinx opened 1 year ago
It seems like it was a vite issue. I updated my vite.config.ts to exclude this:
// vite.config.ts
export default defineConfig({
optimizeDeps: {
exclude: ["three/types"],
},
})
Nevermind, it seems like vite still attempts to import "three/types" when you load the HTML page, which fails.
Hey all, I'm using Vite as my bundler and I'm getting the error when I import classes from
aframe-typescript-class-components
:Does anyone know why this is happening?