mirror of https://github.com/waku-org/js-waku.git
Ignore source map warnings
This is for debugging purposes and out of scope for this example.
This commit is contained in:
parent
eaae1e5372
commit
e18c4f1619
|
@ -25,6 +25,9 @@ module.exports = {
|
||||||
Buffer: ['buffer', 'Buffer'],
|
Buffer: ['buffer', 'Buffer'],
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
if (!config.ignoreWarnings) config.ignoreWarnings = []
|
||||||
|
config.ignoreWarnings.push(/Failed to parse source map/)
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
},
|
},
|
||||||
prod: (config) => {
|
prod: (config) => {
|
||||||
|
@ -51,6 +54,9 @@ module.exports = {
|
||||||
Buffer: ['buffer', 'Buffer'],
|
Buffer: ['buffer', 'Buffer'],
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
if (!config.ignoreWarnings) config.ignoreWarnings = []
|
||||||
|
config.ignoreWarnings.push(/Failed to parse source map/)
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue