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
|
// 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) {
|
||||||
|
|
|
@ -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) => {
|
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: {
|
||||||
|
|
Loading…
Reference in New Issue