px2vw-loader
v0.3.0
Published
webpack loader wrap for px2vw
Downloads
3
Readme
px2vw-loader
webpack loader wrap for px2vw.
install
npm install px2vw-loader
use
webpack 3 rule:
{
test: /\.css$/,
use: [
'style-loader',
'css-loader',
'px2vw-loader'
}]
}
source file
require('some.css?px2vw=true&width=750&minWidth=320')
With fixedNum
:
require('some.css?px2vw=true&width=750&minWidth=320&fixedNum=6')