Remove webpack.config.js

This commit is contained in:
syuilo 2017-02-24 11:27:27 +09:00
parent 894a81663b
commit 36c7fb16cf
3 changed files with 1 additions and 3 deletions

View file

@ -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) {

View file

@ -1 +0,0 @@
eval(require('typescript').transpile(require('fs').readFileSync('./webpack.config.ts').toString()));

View file

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