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

Vendor prefixing? #6

Closed
doctyper opened this issue Jun 4, 2015 · 2 comments
Closed

Vendor prefixing? #6

doctyper opened this issue Jun 4, 2015 · 2 comments
Labels

Comments

@doctyper
Copy link

doctyper commented Jun 4, 2015

Hi, loving Stilr so far. Can your recommend an approach to vendor prefix values in development / hot-load mode? Autoprefixer works great on the server side but it seems to have compatibility issues being imported into Webpack.

@chriskjaer
Copy link
Contributor

Yeah, there's a trick to get Autoprefixer working with webpack. In your webpack config you have to add:

  node: {
    fs: 'empty'
  }

After that you're able to use autoprefixer on the client as you would on the server. I'll add it to the documentation.

@chriskjaer
Copy link
Contributor

I've added an entry to the readme about this and how to use autoprefixer in development.

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

No branches or pull requests

2 participants