Skip to content

Commit

Permalink
feat(config): update configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-le-singe committed Dec 27, 2016
1 parent ebbaf28 commit 6cd7c6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const config = {
DIR_GLOBAL_STYLES: 'common/styles/global',
DIR_STATIC: 'static',
DIR_DIST: 'dist',
DIR_READY_TO_DEPLOY: 'readyToDeploy',
DIR_BUILD: 'build',
DIR_SERVER: 'server',
DIR_TEST: '__tests__',
Expand All @@ -49,9 +50,11 @@ const paths = (dir = 'base') => {
const _paths = {
base: base(),
entryApp: base(config.DIR_SRC, config.DIR_CLIENT, config.ENTRY_APP),
entryServer: base(config.DIR_SRC, config.DIR_SERVER, config.ENTRY_APP),
src: base(config.DIR_SRC),
globalStyles: base(config.DIR_SRC, config.DIR_GLOBAL_STYLES),
dist: base(config.DIR_STATIC, config.DIR_DIST),
dist: base(config.DIR_READY_TO_DEPLOY, config.DIR_STATIC, config.DIR_DIST),
distServer: base(config.DIR_READY_TO_DEPLOY),
build: base(config.DIR_BUILD),
server: base(config.DIR_SERVER),
test: base(config.DIR_TEST),
Expand Down

0 comments on commit 6cd7c6b

Please sign in to comment.