mirror of
https://github.com/TryGhost/Ghost.git
synced 2023-12-13 21:00:40 +01: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
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,8 @@ module.exports = function (defaults) {
|
|||
'woff2',
|
||||
'mp4',
|
||||
'ico'
|
||||
]
|
||||
],
|
||||
exclude: ['**/chunk*.map']
|
||||
},
|
||||
minifyJS: {
|
||||
options: {
|
||||
|
|
Loading…
Reference in a new issue