Skip to content

Commit

Permalink
babel.config - don't try to disable console logging on production web…
Browse files Browse the repository at this point in the history
…pack builds
  • Loading branch information
kidroca committed Nov 3, 2023
1 parent 73beb39 commit 7f6ef19
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,8 @@ const defaultPlugins = [
];

const webpack = {
env: {
production: {
presets: defaultPresets,
plugins: [...defaultPlugins, 'transform-remove-console'],
},
development: {
presets: defaultPresets,
plugins: defaultPlugins,
},
},
presets: defaultPresets,
plugins: defaultPlugins,
};

const metro = {
Expand Down

0 comments on commit 7f6ef19

Please sign in to comment.