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

How to install #18

Closed
kopax opened this issue Dec 21, 2016 · 6 comments
Closed

How to install #18

kopax opened this issue Dec 21, 2016 · 6 comments

Comments

@kopax
Copy link

kopax commented Dec 21, 2016

I wanted to minimize my css, as I have seen issues closed in react-boilerplate, I thought it was solved by this plugin.

I have tried to install using npm and git+ssh, I know it's written WIP but is there a way to test the minification or it's not ready at all ?

@mxstbr
Copy link
Member

mxstbr commented Dec 21, 2016

Not ready yet as it's only useable with v2 of styled-components, which we'll release at the beginning of January. Soooon!

@mxstbr mxstbr closed this as completed Dec 21, 2016
@vdanchenkov
Copy link
Member

@kopax

For evaluation you can do

git clone git@github.com:styled-components/babel-plugin-styled-components.git
cd babel-plugin-styled-components
npm link

cd you-project-directory
npm link babel-plugin-styled-components

You can use it with current version of styled components if you disable displayName and ssr, as thouse features are not implemented in master branch of styled components yet.

Take a look at https://github.com/styled-components/babel-plugin-styled-components/tree/master/test/fixtures/09-minify-css-to-use-without-transpilation

@kopax
Copy link
Author

kopax commented Jan 10, 2017

@mxstbr , will you take care of styled-components v2 soon ? I will need at some point to compress the css with this, and the sooner the better.

@mxstbr
Copy link
Member

mxstbr commented Jan 10, 2017

Yes, @geelen and I have set our eyes on a release sometime within the next weeks, probably at the beginning of February! Not much missing 😉

@kopax
Copy link
Author

kopax commented Feb 3, 2017

hi, Any update on this ?

@mxstbr
Copy link
Member

mxstbr commented Feb 4, 2017

Still working on it! 😊

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