We can create vite template with deno run -A npm:create-vite.
So I tested deno task build with these templates:
React + JS
React + TS
React + TS + SWC
Vanilla + JS
Vanilla + TS
Vue + JS
Vue + TS
but only with Vue + TS template I got this error:
% deno task build
Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.
Task build vue-tsc && vite build
src/main.ts:3:17 - error TS2307: Cannot find module './App.vue' or its corresponding type declarations.
3 import App from './App.vue'
~~~~~~~~~~~
We can create vite template with
deno run -A npm:create-vite
.So I tested
deno task build
with these templates:but only with
Vue + TS
template I got this error:My environment: