Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed imports of vite.config.extension.ts from projects
Path that was being used for fs.existsSync was not correct, missing .ts on the end, so no extensions were being found or applied. Import of extensions from correct staticPath triggers a TypeError: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" This is a known issue with vite importing from files in other packages in a monorepo: vitejs/vite#5370 For now, using the workaround of importing via the relative path. Switching to bun will apparently solve this.
- Loading branch information