Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

Commit

Permalink
Readme update, add depcrecation notice, close #109
Browse files Browse the repository at this point in the history
  • Loading branch information
nDmitry committed May 29, 2015
1 parent 6088b84 commit e020f87
Showing 1 changed file with 4 additions and 64 deletions.
68 changes: 4 additions & 64 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Deprecation notice

### This project has been deprecated in favour of [grunt-postcss](https://github.com/nDmitry/grunt-postcss).

# grunt-autoprefixer
[![Build Status](https://travis-ci.org/nDmitry/grunt-autoprefixer.png?branch=master)](https://travis-ci.org/nDmitry/grunt-autoprefixer)
[![Dependency Status](https://david-dm.org/nDmitry/grunt-autoprefixer.png)](https://david-dm.org/nDmitry/grunt-autoprefixer)
Expand Down Expand Up @@ -115,70 +119,6 @@ options: {
}
```

### Usage Examples

```js
grunt.initConfig({

autoprefixer: {

options: {
// Task-specific options go here.
},

// prefix the specified file
single_file: {
options: {
// Target-specific options go here.
},
src: 'src/css/file.css',
dest: 'dest/css/file.css'
},

// prefix all files
multiple_files: [{
expand: true,
flatten: true,
src: 'src/css/*.css', // -> src/css/file1.css, src/css/file2.css
dest: 'dest/css/' // -> dest/css/file1.css, dest/css/file2.css
}],

// if you have specified only the `src` param, the destination will be set automatically,
// so source files will be overwritten
no_dest: {
src: 'dest/css/file.css' // globbing is also possible here
},

diff: {
options: {
diff: true
},
src: 'src/css/file.css',
dest: 'dest/css/file.css' // -> dest/css/file.css, dest/css/file.css.patch
},

sourcemap: {
options: {
map: true
},
src: 'src/css/file.css',
dest: 'dest/css/file.css' // -> dest/css/file.css, sourcemap is inlined
},

sourcemap_separate: {
options: {
map: {
inline: false
}
},
src: 'src/css/file.css',
dest: 'dest/css/file.css' // -> dest/css/file.css, dest/css/file.css.map
},
}

});
```

Check out project's [Gruntfile.js](https://github.com/nDmitry/grunt-autoprefixer/blob/master/Gruntfile.js) for more examples.

### Updating prefixes database
Expand Down

0 comments on commit e020f87

Please sign in to comment.