Skip to content
Snippets Groups Projects
Commit 092a8233 authored by syuilo's avatar syuilo
Browse files

Remove webpack.config.js

parent d5dfbff3
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
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: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment