Run postcss for webpack bundle
This commit is contained in:
parent
fb83b6b244
commit
6c2ed00a61
8 changed files with 432 additions and 19 deletions
|
@ -11,9 +11,14 @@ module.exports = merge(common, {
|
|||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
loader: "babel-loader"
|
||||
},
|
||||
{
|
||||
test: /\.css$/i,
|
||||
use: ["style-loader", "css-loader"]
|
||||
use: ["style-loader", "css-loader", "postcss-loader"]
|
||||
},
|
||||
{
|
||||
test: /\.(png|jpg|gif)$/i,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue