-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Conversation
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.
This comment was marked as abuse.
Sorry, something went wrong.
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.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
LGTM |
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.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
@corvannoorloos Adding exact version numbers isn't a good idea as they rapidly get outdated (e.g. in your link 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).
@corvannoorloos Pull request welcomed! |
👍 Yeah, don't use fixed versions. |
@alrra: 👍 @corvannoorloos: let me know if you will take this one, if not I'll be glad to do it. |
Merged with some modifications. Thanks @AllThingsSmitty! |
Addresses compatibility items in PR #1681