mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
Fixed admin sourcemap fingerprinting for chunk files (#18920)
no issue - The fingerprinting on chunk files was happening twice (once by ember and once by webpack), resulting in the .js file and the .map file not matching - This change prevents ember from fingerprinting the chunk.*.map files, so the resulting .map and .js files will have the same basename - No real functional difference here, just a bit easier to find the corresponding .map file for a given .js file
This commit is contained in:
parent
b90d3632df
commit
78b1d130a9
@ -121,7 +121,8 @@ module.exports = function (defaults) {
|
||||
'woff2',
|
||||
'mp4',
|
||||
'ico'
|
||||
]
|
||||
],
|
||||
exclude: ['**/chunk*.map']
|
||||
},
|
||||
minifyJS: {
|
||||
options: {
|
||||
|
Loading…
Reference in New Issue
Block a user