From 092a82333619b4cc444c86eb7f383e42937c3a53 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Fri, 24 Feb 2017 11:27:27 +0900
Subject: [PATCH] Remove webpack.config.js

---
 gulpfile.ts       | 2 +-
 webpack.config.js | 1 -
 webpack.config.ts | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)
 delete mode 100644 webpack.config.js

diff --git a/gulpfile.ts b/gulpfile.ts
index 8e36b56646..f4f0753b4e 100644
--- a/gulpfile.ts
+++ b/gulpfile.ts
@@ -131,7 +131,7 @@ gulp.task('build:client:scripts', () => new Promise(async (ok) => {
 	// Get commit info
 	const commit = await prominence(git).getLastCommit();
 
-	let stream = webpack(require('./webpack.config.js')(commit, env), require('webpack'));
+	let stream = webpack(require('./webpack.config')(commit, env), require('webpack'));
 
 	// TODO: remove this block
 	if (isProduction) {
diff --git a/webpack.config.js b/webpack.config.js
deleted file mode 100644
index f41fd0bd8a..0000000000
--- a/webpack.config.js
+++ /dev/null
@@ -1 +0,0 @@
-eval(require('typescript').transpile(require('fs').readFileSync('./webpack.config.ts').toString()));
diff --git a/webpack.config.ts b/webpack.config.ts
index b4b81b7d04..9e49867539 100644
--- a/webpack.config.ts
+++ b/webpack.config.ts
@@ -5,7 +5,6 @@ const constants = require('./src/const.json');
 
 module.exports = (commit, env) => {
 	const isProduction = env === 'production';
-	const isDebug = !isProduction;
 
 	const pack: webpack.Configuration = {
 		entry: {