Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update deps and change module type in tsconfig to commonjs (#170)
Can't update jest and ts-jest yet, because @vue/vue3-jest depends on jest 27. Changing tsconfig should get rid of the following error: Error: src/App.vue(1,1): error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node12', or 'nodenext'. I think this error is a false positive/bug as we do not actually have any dynamic imports anywhere. As I understand it, we do not use the output of the typescript transpilation directly, but it is an intermediate product in the vite build process. This issue has been reported as vuejs/language-tools#1263
- Loading branch information