chore(client): refactor & organise config (#40875)
This commit is contained in:
committed by
GitHub
parent
c1f9cd93f5
commit
fffc0e51ec
@ -5,7 +5,7 @@ const { writeFileSync } = require('fs');
|
||||
module.exports = (env = {}) => {
|
||||
const __DEV__ = env.production !== true;
|
||||
const staticPath = path.join(__dirname, './static/js');
|
||||
const configPath = path.join(__dirname, './config');
|
||||
const configPath = path.join(__dirname, '../config/client');
|
||||
return {
|
||||
mode: __DEV__ ? 'development' : 'production',
|
||||
entry: {
|
||||
|
Reference in New Issue
Block a user