const webpack = require('webpack');
const RemoveWebpackPlugin = require('remove-webpack-plugin');

module.exports = {
    entry: {
        'index': "./src/index.js",
		'default': "./src/default.js",
		'custom': "./src/custom.js"
    },

	output: {
        path: './build',
        filename: "[name].js"
	},

	plugins: [
		new RemoveWebpackPlugin('./build'),
		new webpack.NoErrorsPlugin()
	],

	resolve: {
		moduleDirectories: ['node_modules'],
		extensions: ['', '.js', '.jsx']
	},

	resolveLoader: {
		moduleDirectories: ['node_modules'],
		moduleTemplates: ['*-loader', '*'],
		extensions: ['', '.js', '.jsx']
	},

	module: {
	  loaders: [
		  {
			  test: /\.jsx$/, loader: "react-hot-loader!babel-loader", exclude: [/node_modules/, /lib/]
		  },
		  {
			  test: /\.js$/, loader: "react-hot-loader!babel-loader", exclude: [/node_modules/, /lib/]
		  }
	  ]
	}
};

@@ -32,70 +32,8 @@
 k');
-%0Aconst RemoveWebpackPlugin = require('remove-webpack-plugin');
 %0A%0Amo
@@ -255,46 +255,8 @@
 : %5B%0A
-%09%09new RemoveWebpackPlugin('./build'),%0A
 %09%09ne

remove "RemoveWebpackPlugin"