Skip to content

Commit

Permalink
Update deps and change module type in tsconfig to commonjs (#170)
Browse files Browse the repository at this point in the history
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
micgro42 committed May 5, 2022
1 parent fc727a4 commit 68f24a7
Show file tree
Hide file tree
Showing 3 changed files with 1,245 additions and 1,512 deletions.

0 comments on commit 68f24a7

Please sign in to comment.