Skip to content

Commit

Permalink
Remove dev/prod flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
DFurnes committed Jan 22, 2018
1 parent bd2a7cc commit 096333d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion styleguide/app.js
Expand Up @@ -17,7 +17,7 @@ app.locals.highlight = function(markup) {
};

app.get('/', function(req, res) {
let version = app.get('env') === 'production' ? pkg.version : pkg.version + '-dev';
let version = pkg.version;

// Read KSS on each render. Since this is only used for local development, I'm
// not too worried about performance. (It takes approx. 40ms to parse KSS.)
Expand Down
1 change: 0 additions & 1 deletion wercker.yml
Expand Up @@ -11,7 +11,6 @@ build:
- script:
name: build static pattern library
code: |-
export NODE_ENV=production
export STYLEGUIDE_PORT=8000
npm run styleguide &
sleep 10 # let Node start up!
Expand Down

0 comments on commit 096333d

Please sign in to comment.