mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 16:41:24 +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',
|
'woff2',
|
||||||
'mp4',
|
'mp4',
|
||||||
'ico'
|
'ico'
|
||||||
]
|
],
|
||||||
|
exclude: ['**/chunk*.map']
|
||||||
},
|
},
|
||||||
minifyJS: {
|
minifyJS: {
|
||||||
options: {
|
options: {
|
||||||
|
Loading…
Reference in New Issue
Block a user