mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 09:36:43 +03:00
Disable source maps for prod extension build (#1289)
This commit is contained in:
parent
6436116048
commit
92f13ed730
|
@ -6,7 +6,7 @@ const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
||||||
module.exports = function (env) {
|
module.exports = function (env) {
|
||||||
return {
|
return {
|
||||||
mode: env.production ? 'production' : 'development',
|
mode: env.production ? 'production' : 'development',
|
||||||
devtool: env.production ? 'source-map' : 'eval-source-map',
|
devtool: env.production ? undefined : 'eval-source-map',
|
||||||
entry: {
|
entry: {
|
||||||
background: [
|
background: [
|
||||||
path.resolve(__dirname, 'src/chromeApiMock'),
|
path.resolve(__dirname, 'src/chromeApiMock'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user