Answers for "mini-css-extract-plugin sass"

CSS
1

mini-css-extract-plugin sass

//installation
npm install --save-dev mini-css-extract-plugin

//configuration
const MiniCssExtractPlugin = require('mini-css-extract-plugin');

module.exports = {
  plugins: [new MiniCssExtractPlugin()],
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [MiniCssExtractPlugin.loader, 'css-loader'],
      },
    ],
  },
};
Posted by: Guest on October-11-2020
1

mini-css-extract-plugin

npm install --save-dev mini-css-extract-plugin
Posted by: Guest on December-25-2020

Browse Popular Code Answers by Language