Currently, module-resolver only works for a CDN like unpkg or using alias. We should give the ability to resolve module named imports to the node_modules folder.
Example
import { LitElement, html, customElement } from "lit-element";
@customElement("hello-world")
export default class HelloWorld extends LitElement {
render() {
return html`<h1>Hello World</h1>`;
}
}
This could resolve to the /base/node_modules/lit-element/lit-element.js