Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Feature Request - purifycss-webpack with Vue files #253

Closed
morrislaptop opened this issue Oct 15, 2017 · 6 comments
Closed

Feature Request - purifycss-webpack with Vue files #253

morrislaptop opened this issue Oct 15, 2017 · 6 comments
Labels

Comments

@morrislaptop
Copy link
Contributor

Do you want to request a feature or report a bug?
feature

What is the current behavior?
All the CSS included from Bulma / Bootstrap is included in final build

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
To remove any unused CSS using the purifycss-webpack plugin

If this is a feature request, what is motivation or use case for changing the behavior?
To reduce file size of the exported CSS like what happens with JS

Please mention other relevant information such as the browser version, Node.js version, Poi version and Operating System.

@egoist
Copy link
Owner

egoist commented Oct 15, 2017

If we add this plugin it will actually work for all files not only Vue files I think 😄

For now you can add that plugin manually or make a poi preset for it.

@marvinroger
Copy link

I second that, that'd we awesome - even as a poi preset -.

@BorisTB
Copy link

BorisTB commented Feb 4, 2018

any progress on this?

@egoist
Copy link
Owner

egoist commented Feb 5, 2018

@BorisTB what needs to change to make it work with Poi? you can extend webpack config currently https://poi.js.org/#/home?id=webpack

I will consider having it built-in in Poi v10

@morrislaptop
Copy link
Contributor Author

I had a stab at making a preset - https://www.npmjs.com/package/poi-preset-purifycss

Let me know what you think!

@github-actions
Copy link

github-actions bot commented May 1, 2020

This issue has been marked as Stale, it will be closed in a week if there's no furthur activity.

@github-actions github-actions bot added the stale label May 1, 2020
@github-actions github-actions bot closed this as completed May 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants