chore(client): refactor & organise config (#40875)

This commit is contained in:
Oliver Eyton-Williams
2021-02-03 10:52:07 +01:00
committed by GitHub
parent c1f9cd93f5
commit fffc0e51ec
32 changed files with 36 additions and 39 deletions

View File

@ -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: {