Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mediabuff opened this issue May 8, 2023 · 4 comments

Comments

@mediabuff
Copy link

No description provided.

@bennypowers
Copy link
Owner

No plans but I can review a pr

@mediabuff
Copy link
Author

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

@mediabuff
Copy link
Author

mediabuff commented May 9, 2023

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

@bennypowers
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants