lit-element-starter-ts
lit-element-starter-ts copied to clipboard
Sample component project using LitElement with TypeScript
if you were to comment out the test that uses `instanceof`, the rest of the tests would fail due to the import being tree shaken by typescript. without the import,...
## Overview - By default it is not serving the dev path and need the docs to reflect that. ## Issues - https://github.com/PolymerLabs/lit-element-starter-ts/issues/23
`npm run lint` fails because eslint does not like the `'`s wrapping its target path. Removing the single quotes fixes `npm run lint`
It's a bit awkward to have the build assets in root folder intertwined with the rest of the project. This change does the following: * Builds src to dist/src *...
To dev locally without a compiling process, just using the web dev server to do the transform. ``` <my-element> Demo p { border: solid 1px blue; padding: 8px; } This...
By default TS will pull in any global modifying types that it finds - by specifying a types field it'll only pull in specific ones - which is usually a...
- [x] [`rollup-plugin-terser`](https://www.npmjs.com/package/rollup-plugin-terser) is deprecated in favor of [`@rollup/plugin-terser`](https://www.npmjs.com/package/@rollup/plugin-terser) - [x] swap dep, update import
- [x] switch to `npx lit-analyzer` to run - [x] drops ~96 package deps, modulo env - [x] drops 4 package warnings simple change, it also alleviates the need to...