text: const ExtractTextPlugin = require('extract-text-webpack-plugin');
  
  // importLoader:1 from https://blog.madewithenvy.com/webpack-2-postcss-cssnext-fdcd2fd7d0bd
  
  module.exports = {
      devtool: 'source-map', // 'cheap-module-eval-source-map'
      module: {
          rules: [{
              test: /\.css$/,
              use: ExtractTextPlugin.extract([
                  {
                      loader: 'css-loader',
                      options: { importLoaders: 1 },
                  },
                  'postcss-loader']
              )
          }, {
              test: /\.scss$/,
              use: ExtractTextPlugin.extract([
                  {
                      loader: 'css-loader',
                      options: { importLoaders: 1 },
                  },
                  'postcss-loader',
                  {
                      loader: 'sass-loader',
                      options: {
                          includePaths: [`${__dirname}/../src/`],
                      }
                  }]
              )
          }],
      },
      plugins: [
          new ExtractTextPlugin('../css/[name].css')
      ]
  };
  