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

A plugin for vite? #339

Closed
surajondev opened this issue Nov 20, 2022 · 4 comments
Closed

A plugin for vite? #339

surajondev opened this issue Nov 20, 2022 · 4 comments

Comments

@surajondev
Copy link

Hey,

I am trying to build an application with Vite and Lightning CSS. I am finding it challenging to integrate Lightning CSS as there is no guide.

Can you please guide me on this?

Thanks in advance for your response.

@devongovett
Copy link
Member

There is https://github.com/lawrencecchen/vite-plugin-lightningcss but it only replaces postcss for transforming modern css to older browsers. Vite has hard coded postcss into the core for other things like collecting dependencies and bundling, and uses ESBuild for minification. Those cannot currently be replaced by plugins. I'd suggest opening a Vite issue for lightningcss support!

@surajondev
Copy link
Author

Okay. Thanks will look into this.

@meduzen
Copy link

meduzen commented Dec 1, 2022

Follow-up Vite issue: vitejs/vite#11029

@devongovett
Copy link
Member

Lightning CSS is now built into Vite. Closing.

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

3 participants