This fixes the lit-html import without a full bundler.
See https://www.pika.dev/blog/pika-web-a-future-without-webpack/
node_modules
package-lock.json
+web_modules
-import { LitElement, html, css } from './node_modules/lit-element/lit-element.js';
+import { LitElement, html, css } from './web_modules/lit-element.js';
class HelloWorld extends LitElement {
render() {
},
"devDependencies": {},
"scripts": {
+ "install": "npx @pika/web",
"test": "echo \"Error: no test specified\" && exit 1",
"run": "python -m http.server -b localhost"
},