const path = require('path');
const uglify = require('uglifyjs-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');

module.exports = {
  entry: './js/main.js',
  output: {
    path: path.resolve(__dirname, './static/dist'),
    filename: 'bundle.js'
  },
  module: {
    rules: [
      {
        test: /\.scss$/,
        exclude: /node_modules/, 
        use: ExtractTextPlugin.extract({
          use: [
            { loader: 'css-loader', options: { }},
            { loader: 'postcss-loader', options: { }},
            { loader: 'sass-loader', options: { }}
          ],
          fallback: 'style-loader'
        })
      }
    ]
  },
  plugins: [
    new uglify(),
    new ExtractTextPlugin('bundle.css'),
  ]
};

@@ -25,17 +25,16 @@
 th')
-;
 %0Aconst 
-u
+U
 glif
@@ -71,17 +71,16 @@
 plugin')
-;
 %0Aconst E
@@ -136,17 +136,16 @@
 plugin')
-;
 %0A%0Amodule
@@ -367,17 +367,16 @@
 odules/,
- 
 %0A       
@@ -466,32 +466,33 @@
 r', options: %7B %7D
+ 
 %7D,%0A            %7B
@@ -530,16 +530,17 @@
 ons: %7B %7D
+ 
 %7D,%0A     
@@ -583,16 +583,17 @@
 ons: %7B %7D
+ 
 %7D%0A      
@@ -685,17 +685,17 @@
     new 
-u
+U
 glify(),
@@ -738,13 +738,11 @@
 ss')
-,
 %0A  %5D%0A
+
 %7D
-;
 %0A

edit js according to new linter settings