const WebpackNotifierPlugin = require('webpack-notifier');

module.exports = {
  entry: './src/main.js',
  output: {
    filename: 'hackforplayer.js'
  },
  module: {
    loaders: [
      {
        test: /\.css$/,
        loaders: ["style", "css"]
      },
      {
        test: /\.scss$/,
        loaders: ["style", "css", "sass"]
      }
    ]
  },
  plugins: [
    new WebpackNotifierPlugin()
  ]
};

@@ -1,8 +1,44 @@
+const webpack = require('webpack');%0A
 const We
@@ -89,16 +89,145 @@
 ier');%0A%0A
+const exportVarName = process.env.EXPORT_VAR_NAME %7C%7C %22h4p%22;%0Aconst cssPrefix = process.env.CSS_PREFIX %7C%7C (exportVarName + %22__%22);%0A%0A
 module.e
@@ -557,12 +557,206 @@
 in()
-%0A  %5D
+,%0A    new webpack.DefinePlugin(%7B%0A      EXPORT_VAR_NAME: JSON.stringify(exportVarName),%0A      CSS_PREFIX: JSON.stringify(cssPrefix)%0A    %7D)%0A  %5D,%0A  sassLoader: %7B%0A    data: %60$prefix: $%7BcssPrefix%7D;%60%0A  %7D%0A
 %0A%7D;%0A

build keyword