Skip to content

Commit

Permalink
[TASK] update config for production mode (moveJsToFooter + inlineStyle)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmh committed Apr 24, 2018
1 parent 0cffeb7 commit 0376bda
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Configuration/TypoScript/Library/config.setupts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Dont use the default JavaScript
removeDefaultJS = 1


[globalVar = LIT:1 = {$themes.configuration.baseurl}]
# Set the baseurl
config.baseURL = {$themes.configuration.baseurl}
Expand All @@ -24,6 +20,9 @@ config.compressJs = 1
config.concatenateCss = 1
config.concatenateJs = 1

config.moveJsFromHeaderToFooter = 1
config.inlineStyle2TempFile = 0

# In case of using development mode, disable compression and concatenation
[globalVar = LIT:1 = {$themes.configuration.isDevelopment}]
config.compressCss = 0
Expand Down

0 comments on commit 0376bda

Please sign in to comment.