Webpack loader for pretty-components
.
yarn add --dev pretty-loader
npm install --save-dev pretty-loader
// inside webpack.config.js
module.exports = {
// ...
module: {
rules: [
{
test: /\.pss$/,
use: {
loader: 'pretty-loader',
},
},
],
},
};