Skip to content

Commit

Permalink
REVERT LATER: build all locales for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Oct 28, 2020
1 parent 2d48389 commit 67f0281
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/next.config.js
Expand Up @@ -177,7 +177,8 @@ module.exports = {

// We want to speed-up the build of pull requests.
// For crowdin PRs we want to build all locales for testing.
if (process.env.PULL_REQUEST === 'true' && !l10nPRInNetlify) {
// TODO: don't build all on PRS
if (process.env.PULL_REQUEST !== 'true' && !l10nPRInNetlify) {
// eslint-disable-next-line no-console
console.log('Considering only English for SSR');
traverse(pages, 'en');
Expand Down

0 comments on commit 67f0281

Please sign in to comment.