Skip to content

smackgg/smart-px2rem-loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smart-px2rem-loader

a webpack loader for px2rem

NPM version Build status Downloads

Install

npm install smart-px2rem-loader

webpack config

{
  loaders: [{ test: /\.css$/, loader: 'style!css!px2rem?remUnit=75&remPrecision=8' }]
}

excludes

{
  loaders: [{ test: /\.css$/, loader: 'style!css!px2rem?remUnit=75&remPrecision=8&excludes[]=border' }]
}

Please see px2rem for more information about query parameters of px2rem.

Packages

No packages published

Languages

  • JavaScript 100.0%