mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 01:00:33 +08:00
Chore: Change dev sourcemaps to work around firefox warning (#67929)
Change dev sourcemaps to work around firefox warning
This commit is contained in:
@ -20,9 +20,9 @@ const esbuildOptions = {
|
|||||||
format: undefined,
|
format: undefined,
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (env = {}) =>
|
module.exports = (env = {}) => {
|
||||||
merge(common, {
|
return merge(common, {
|
||||||
devtool: 'inline-source-map',
|
devtool: 'eval-source-map',
|
||||||
mode: 'development',
|
mode: 'development',
|
||||||
|
|
||||||
entry: {
|
entry: {
|
||||||
@ -121,3 +121,4 @@ module.exports = (env = {}) =>
|
|||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
};
|
||||||
|
Reference in New Issue
Block a user