The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
599 B

  1. const MiniCssExtractPlugin = require('mini-css-extract-plugin');
  2. module.exports = {
  3. test: /\.s?css$/i,
  4. use: [
  5. MiniCssExtractPlugin.loader,
  6. {
  7. loader: 'css-loader',
  8. options: {
  9. sourceMap: true,
  10. importLoaders: 2,
  11. localIdentName: '[name]__[local]___[hash:base64:5]',
  12. },
  13. },
  14. {
  15. loader: 'postcss-loader',
  16. options: {
  17. sourceMap: true,
  18. },
  19. },
  20. {
  21. loader: 'sass-loader',
  22. options: {
  23. fiber: require('fibers'),
  24. implementation: require('sass'),
  25. sourceMap: true,
  26. },
  27. },
  28. ],
  29. };