mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-02 09:29:54 +00:00
keep xterm sourcemaps
This commit is contained in:
parent
74026ff59c
commit
8f4392515f
@ -60,7 +60,7 @@ module.exports = options => {
|
||||
loader: 'source-map-loader',
|
||||
options: {
|
||||
filterSourceMappingUrl: (url, resourcePath) => {
|
||||
if (/node_modules/.test(resourcePath)) {
|
||||
if (/node_modules/.test(resourcePath) && !resourcePath.includes('xterm')) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
|
Loading…
x
Reference in New Issue
Block a user