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

Added gulp-autoprefixer task to the project #1682

Closed
wants to merge 5 commits into from
Closed

Added gulp-autoprefixer task to the project #1682

wants to merge 5 commits into from

Conversation

AllThingsSmitty
Copy link
Contributor

Addresses compatibility items in PR #1681

@arthurvr
Copy link
Member

The package.json file is invalid (bad copy-pasting, I guess).



return gulp.src('css/main.css')
.pipe(plugins.autoprefixer({

This comment was marked as abuse.

@AllThingsSmitty
Copy link
Contributor Author

Thanks, @arthurvr. I've corrected the conflicts in the gulpfile and package.json

.pipe(gulp.dest(dirs.dist + '/css'));

.pipe(plugins.autoprefixer({
browsers: ['last 2 versions', 'ie >= 8'],

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@mathiasbynens
Copy link
Member

LGTM

@ghost
Copy link

ghost commented Mar 13, 2015

To make things official, is there any chance similar to this could be added to the documentation? https://github.com/google/web-starter-kit/blob/master/README.md#browser-support

@@ -103,8 +103,11 @@ gulp.task('copy:main.css', function () {

return gulp.src(dirs.src + '/css/main.css')
.pipe(plugins.header(banner))
.pipe(plugins.autoprefixer({
browsers: ['last 2 versions', 'ie >= 8'],

This comment was marked as abuse.

This comment was marked as abuse.

@alrra
Copy link
Member

alrra commented Mar 13, 2015

To make things official, is there any chance similar to this could be added to the documentation? https://github.com/google/web-starter-kit/blob/master/README.md#browser-support

@corvannoorloos Adding exact version numbers isn't a good idea as they rapidly get outdated (e.g. in your link FF 30, 31, Chrome 34, 35, etc.) (Cc: @sindresorhus, @addyosmani)

However, I think it would be nice to state that we support the latest 2 versions in the cases where a lower version isn't specified (e.g. as in the case of IE).

To make things official

@corvannoorloos Pull request welcomed!

@sindresorhus
Copy link
Member

👍 Yeah, don't use fixed versions.

@battaglr
Copy link
Contributor

Adding exact version numbers isn't a good idea as they rapidly get outdated [...].

However, I think it would be nice to state that we support the latest 2 versions in the cases where a lower version isn't specified (e.g. as in the case of IE).

@alrra: 👍

@corvannoorloos: let me know if you will take this one, if not I'll be glad to do it.

@ghost
Copy link

ghost commented Mar 13, 2015

@alrra 👍

@battaglr go ahead. I'm at work for at least a couple of hours.

@alrra
Copy link
Member

alrra commented Mar 13, 2015

Merged with some modifications. Thanks @AllThingsSmitty!

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

Successfully merging this pull request may close these issues.

6 participants