mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Don't fingerprint assets in development (dev perf fix) (#1018)
no issue - doing so causes a double pass through asset-rewrite and forces both to take much longer. This cuts 3s off of rebuilds. Using asset-rewrite as is done in dev mode is also suspicious, likely a better setup could be devised that doesnt require rewrite to interop with the local ghost server
This commit is contained in:
parent
ac870e43bd
commit
20d8c924a2
@ -92,7 +92,7 @@ module.exports = function (defaults) {
|
||||
}
|
||||
},
|
||||
fingerprint: {
|
||||
enabled: true,
|
||||
enabled: isProduction,
|
||||
extensions: ['js', 'css', 'png', 'jpg', 'jpeg', 'gif', 'map']
|
||||
},
|
||||
minifyJS: {
|
||||
|
Loading…
Reference in New Issue
Block a user