Chore: Change dev sourcemaps to work around firefox warning (#67929)

Change dev sourcemaps to work around firefox warning
This commit is contained in:
Josh Hunt 2023-06-05 10:51:48 +01:00 committed by GitHub
parent 73ca4e180a
commit b65ce6738f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,9 +20,9 @@ const esbuildOptions = {
format: undefined,
};
module.exports = (env = {}) =>
merge(common, {
devtool: 'inline-source-map',
module.exports = (env = {}) => {
return merge(common, {
devtool: 'eval-source-map',
mode: 'development',
entry: {
@ -121,3 +121,4 @@ module.exports = (env = {}) =>
}),
],
});
};