const { resolve } = require('path');
const { BannerPlugin } = require('webpack');
const StylishReporter = require('webpack-stylish');

const pkg = require('./package.json');

const stylish = new StylishReporter();

module.exports = {
	mode: 'production',
	entry: resolve(__dirname, './web/autoload.ts'),
	output: {
		path: resolve(__dirname, './dist'),
		filename: 'autoload.js'
	},
	resolve: {
		extensions: ['.ts', '.js', '.json']
	},
	module: {
		rules: [
			{
				test: /\.ts$/,
				loader: 'ts-loader'
			}
		]
	},
	plugins: [
		stylish
	],
	devtool: 'source-map',
	stats: 'minimal'
};

@@ -34,53 +34,8 @@
 ');%0A
-const %7B BannerPlugin %7D = require('webpack');%0A
 cons

Remove unused line