2.0.0 • Published 6 years ago
rgba-loader v2.0.0
rgba-loader
for css-loader rgba color to 16hex color
Install
npm install rgba-loader
webpack config
module.exports = {
// ...
module: {
rules: [{
test: /\.css$/,
use: [{
loader: 'style-loader'
}, {
loader: 'css-loader'
}, {
loader: 'rgba-loader'
}]
}]
}
}
2.0.0
6 years ago