Remove webpack.config.js

This commit is contained in:
syuilo 2017-02-24 11:27:27 +09:00
parent d5dfbff3c1
commit 092a823336
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 // Get commit info
const commit = await prominence(git).getLastCommit(); 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 // TODO: remove this block
if (isProduction) { 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) => { module.exports = (commit, env) => {
const isProduction = env === 'production'; const isProduction = env === 'production';
const isDebug = !isProduction;
const pack: webpack.Configuration = { const pack: webpack.Configuration = {
entry: { entry: {