Skip to content

Commit

Permalink
Add autoprefixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Yemelin authored and Eugene Yemelin committed Nov 29, 2016
1 parent 0aff85a commit c6cfbd2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"css-loader": "^0.26.0",
"extract-text-webpack-plugin": "^1.0.1",
"node-sass": "^3.13.0",
"postcss-loader": "^1.1.1",
"sass-loader": "^4.0.2",
"webpack": "^1.13.3",
"webpack-dev-server": "^1.16.2"
Expand Down
5 changes: 5 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
plugins: [
require('autoprefixer')
]
}
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
{
test: /\.scss$/,
include: /src/,
loader: extractPlugin.extract('css!sass')
loader: extractPlugin.extract('css!sass!postcss')
}
]
},
Expand Down

0 comments on commit c6cfbd2

Please sign in to comment.