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: {