mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-10-30 23:01:48 +09:00
Remove webpack.config.js
This commit is contained in:
parent
d5dfbff3c1
commit
092a823336
@ -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 New Issue
Block a user