From 36c7fb16cf6e332634e77426deb4f574b16468c4 Mon Sep 17 00:00:00 2001 From: syuilo 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 8e36b5664..f4f0753b4 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 f41fd0bd8..000000000 --- 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 b4b81b7d0..9e4986753 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: {