bluwy / create-vite-extra

Extra Vite templates
MIT License
370 stars 55 forks source link

deno-lit-ts doesn't work #19

Closed ff2400t closed 1 year ago

ff2400t commented 1 year ago

Deno version used was 1.28.3

deno task dev throws the following error in the browser console Error for Firefox is Loading module from “http://localhost:5173/src/my-element.js” was blocked because of a disallowed MIME type (“”) Error for Chrome is GET http://localhost:5173/src/my-element.js net::ERR_ABORTED 404 (Not Found)

deno task build just fails and gives the following error in the terminal Could not resolve entry module "src/my-element.js". error during build RollupError: Could not resolve entry module "src/my-element.js".`

bluwy commented 1 year ago

Fixed in v1.0.1. I forgot to reconfigure the JS stuff to TS.