Skip to content

Commit

Permalink
Engage postcss-loader for scss too; fixes #33
Browse files Browse the repository at this point in the history
  • Loading branch information
saki7 committed Nov 9, 2017
1 parent 18fb40e commit e6c33b9
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,19 @@ module.exports = env => ({
importLoaders: 2,
},
},
// {
// loader: 'postcss-loader',
// },
{
loader: 'postcss-loader',
options: {
config: {
ctx: {
env: env,
cssnano: {
autoprefixer: false,
},
},
},
},
},
{
loader: 'sass-loader',
},
Expand Down

1 comment on commit e6c33b9

@saki7
Copy link
Contributor Author

@saki7 saki7 commented on e6c33b9 Nov 9, 2017

Choose a reason for hiding this comment

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

この fixes #33 は嘘で実際は fixes #32

Please sign in to comment.