This library parses .lit
files and compiles them into JavaScript.
Litfiles are basically the same as Vue files, if you've ever seen one. Except you don't need to build everything in litfiles because it's Web Components.
As the name suggests, this is designed to work with LitElement
.
npm install litfile-compiler
This package exposes a single API.
```js
import compile from 'litfile-compiler';
const document = "...";
const compiled = compile(document).code;
```
Information on the proper structure of a `.lit` file can be found in the root of this repository.
Do not contribute bad code. Do contribute good code.