When I used pxtorem, It was worked in pure scss files, but it was not worked when the scss file import other scss files.How to fix it?
There is the webpack.config.js:
loaders: [
{
test: /\.scss$/,
loader: ExtractTextPlugin.extract('style-loader', 'css-loader?sourceMap!sass-loader!postcss')
}],
postcss: [
autoprefixer({browsers: ['last 5 versions']}),
pxtorem({rootValue: 100, propWhiteList: []})
]