Remove webpack.config.js
This commit is contained in:
parent
d5dfbff3c1
commit
092a823336
3 changed files with 1 additions and 3 deletions
|
@ -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) {
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
eval(require('typescript').transpile(require('fs').readFileSync('./webpack.config.ts').toString()));
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue