Skip to content

Commit

Permalink
Merge pull request #1146 from alibaba/feat-scripts-add-rpx2vw
Browse files Browse the repository at this point in the history
chore: rax scripts add postcss-plugin-rpx2vw
  • Loading branch information
boiawang authored Jul 22, 2019
2 parents 1f796b6 + cd43e8a commit aba9144
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/rax-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"postcss": "^7.0.17",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-plugin-rpx2vw": "^0.0.1",
"postcss-preset-env": "^6.6.0",
"rax-hot-loader": "^0.6.5",
"rax-hot-module-replacement-webpack-plugin": "^0.6.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ module.exports = [
},
stage: 3,
}),
require('./postcss-plugin-rpx2rem'),
require('postcss-plugin-rpx2vw')(),
],
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module.exports = [
},
stage: 3,
}),
require('./postcss-plugin-rpx2rem'),
require('postcss-plugin-rpx2vw')(),
],
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ module.exports = function getWebpackBaseConfig(options = {}) {
},
stage: 3,
}),
require('postcss-plugin-rpx2vw')(),
],
}
},
Expand Down

0 comments on commit aba9144

Please sign in to comment.