terraform icon indicating copy to clipboard operation
terraform copied to clipboard

Bump autoprefixer dependency. Also, an option to configure and/or disable it?

Open PandaWhisperer opened this issue 11 years ago • 4 comments

With reference to this issue I filed on the harp project, it appears that terraform is using an outdated version of the autoprefixer module. With the web running at the blazing speed that it does, running something from July may already be old news in October. Certainly the browser world is moving very fast.

While we're at it, would it perhaps be possible to let the user configure the autoprefixer behavior via a _data.json setting, or, if necessary, completely disable it?

I'd be happy to prepare a pull request for this if that would help things out.

PandaWhisperer avatar Oct 24 '14 22:10 PandaWhisperer

Thanks for being so thorough on testing that! It makes it wayyy easier on us, it’s appreciated. :beers:

We have Autoprefixer v3.1.0 in queued up for Terraform v0.9.2 , our goal is to stay with the latests releases of the dependencies wherever it’s possible.

I don’t think we’ll make Autoprefixer configurable, but thanks for offering to help on that. We like Harp to avoid configuration where possible, it should just be a great set of defaults all the time, which we think includes Autoprefixer—we’ll have that outdated dependency sorted soon!

kennethormandy avatar Oct 25 '14 00:10 kennethormandy

I'm not sure if this belongs in here, but it's certainly related. I think that having autoprefixer is fine, but I'd really like to see minification turned off unless NODE_ENV == "production". It'd also be cool if non-production could generate source map output and the like.

You don't need to use minify in stylesheet/index.js, you can just have the sass.js files use 'nested' or 'compressed' based on the ENV.

I got into the terraform code to look at how to do that. I got it all turned on for node sass, and now I'm trying to trace out where the map output needs to go.

Would '.map' need to be another renderer that goes along with .scss.js and .sass.js, or is it something that can be piggy backed into the CSS output piplines.

sorahn avatar Mar 01 '15 03:03 sorahn

@kennethormandy It looks like the current version of terraform (0.11.0) is using Autoprefixer 5.1.0. The current version of Autoprefixer is 5.2. Any plans to update to this version?

rocketnova avatar Jul 31 '15 07:07 rocketnova

@kennethormandy The current Autoprefixer is now at version 9.8.6, are there any plans to update this? Thanks

row-n avatar Jul 31 '20 06:07 row-n