Skip to content

Commit 5ec4cac

Browse files
committed
add postcss fixed #58
1 parent 30a94c4 commit 5ec4cac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

template/build/webpack.base.conf.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ const config = {
107107
fallback: styleLoaderOptions
108108
})),
109109
{{/sass}}
110+
postcss: ['css-hot-loader'].concat(ExtractTextPlugin.extract({
111+
use: cssOptions,
112+
fallback: styleLoaderOptions
113+
}))
110114
}
111115
}
112116
},

0 commit comments

Comments
 (0)