Skip to content

Commit

Permalink
Enable build directories for downstream envs
Browse files Browse the repository at this point in the history
  • Loading branch information
devowhippit committed Oct 19, 2021
1 parent fabb481 commit 6c9a328
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ npm-debug.log
TODO.md

*.zip

/staging
/production
6 changes: 3 additions & 3 deletions config/global.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
let global = require('@nycopportunity/pttrn/config/global');

// This will override the global dist folder based on the Node ENV variable
// if (process.env.NODE_ENV !== 'development' && process.env.NODE_ENV !== 'testing') {
// global.dist = process.env.NODE_ENV;
// }
if (process.env.NODE_ENV !== 'development' && process.env.NODE_ENV !== 'testing') {
global.dist = process.env.NODE_ENV;
}

module.exports = global;

0 comments on commit 6c9a328

Please sign in to comment.