Skip to content

Commit

Permalink
docs(analytics): Only load Adobe analytics script in production
Browse files Browse the repository at this point in the history
To improve development performance
  • Loading branch information
ryanoglesby08 committed Dec 1, 2017
1 parent b7fdc4a commit 8cb77f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ module.exports = {
},
],

template: path.resolve('docs/index.html'),
template: styleguidistEnv === 'production' ? path.resolve('docs/index.html') : undefined,
assetsDir: path.resolve('docs/assets/'),
styleguideDir: path.resolve('styleguide', styleguidistEnv),
require: [path.resolve('src/scss/global.scss'), path.resolve('docs/scss/styleguide.scss')],
Expand Down

0 comments on commit 8cb77f1

Please sign in to comment.