Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

buildProduction: Always remove installDevelopmentMode part of the boo…

…tstrapper, even if --locale isn't specified. I can't recall if it was ever relevant to keep it in this situation, but there's no use case for it anymore.
  • Loading branch information...
commit 8bdca8cbe085ed9fdd34e623d4677959af48dfe8 1 parent 316e1d3
@papandreou papandreou authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 bin/buildProduction
View
4 bin/buildProduction
@@ -31,9 +31,7 @@ new AssetGraph({root: commandLineOptions.root})
followRelations: query.or({to: {type: 'I18n'}},
{type: query.not(['JavaScriptOneInclude', 'JavaScriptExtJsRequire', 'JavaScriptCommonJsRequire', 'HtmlAnchor']), to: {url: query.not(/^https?:/)}})
})
- .if(localeIds)
- .stripDevelopmentModeFromOneBootstrapper({type: 'Html', isInitial: true})
- .endif()
+ .stripDevelopmentModeFromOneBootstrapper({type: 'Html', isInitial: true})
.if(cdnroot)
.queue(function addCdnRootToOneBootstrapper(assetGraph) {
oneBootstrapper.findOneBootstrappersInGraph(assetGraph).forEach(function (javaScript) {
Please sign in to comment.
Something went wrong with that request. Please try again.