Skip to content

Commit

Permalink
Make sure that imported css files in SFCs are autoprefixed, too (#1053)
Browse files Browse the repository at this point in the history
using postcss-import
  • Loading branch information
LinusBorg authored Nov 14, 2017
1 parent deb97b1 commit cc53d3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions template/.postcssrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module.exports = {
"plugins": {
// to edit target browsers: use "browserslist" field in package.json
"postcss-import": {},
"autoprefixer": {}
}
}
1 change: 1 addition & 0 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"nightwatch": "^0.9.12",
"selenium-server": "^3.0.1",
{{/e2e}}
"postcss-import": "^11.0.0",
"postcss-loader": "^2.0.8",
"semver": "^5.3.0",
"shelljs": "^0.7.6",
Expand Down

1 comment on commit cc53d3e

@SirM2z
Copy link
Contributor

@SirM2z SirM2z commented on cc53d3e Nov 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got error when add this

Please sign in to comment.