bennypowers/lit-css

any support for Parcel ? S ample package.json configuration would be appreciated

mediabuff opened this issue · 4 comments

any support for Parcel ? S ample package.json configuration would be appreciated

No plans but I can review a pr

I don't think I am very savy in this area to implement an addon. That's the reason I came to lit-css :-)

Seems to be not a complex endeavour. I a novice in this area. That's why i ran away from webpack to parcel. But kind of stuck now - no lit css plugins !

https://parceljs.org/plugin-system/authoring-plugins/

Another example:
https://github.com/Anteris-Dev/parcel-transformer-lit-css/blob/master/src/LitCssTransformer.ts

don't sell yourself short! the functions to transform the input files are all in the @pwrs/lit-css package - see one of the implementations like rollup-plugin-lit-css for an example. You can start by copying rollup-plugin-lit-css, and renaming that dir and everything inside to match, then do the same in the test dir. Update the test files and plugin file to use the parcel api, then run the tests to see what broke