Skip to content

Commit

Permalink
Keep debug code in files - this is important during development. Wond…
Browse files Browse the repository at this point in the history
…ering how to select production versions though later on. Maybe via some wrapper. Wondering how React is doing this.
  • Loading branch information
swernerx committed Jul 30, 2018
1 parent c0d933b commit dde2c87
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/createBabelConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export function createHelper({
presetEdge,
{
target: "modern",
env: "production",
compression: minified,
debug: DEBUG_PRESETS
}
Expand All @@ -30,7 +29,6 @@ export function createHelper({
presetEdge,
{
target: "es2015",
env: "production",
compression: minified,
debug: DEBUG_PRESETS
}
Expand All @@ -40,7 +38,6 @@ export function createHelper({
presetEdge,
{
target: targetModern ? "node8" : "node6",
env: "production",
compression: minified,
modules: false,
debug: DEBUG_PRESETS
Expand All @@ -51,7 +48,6 @@ export function createHelper({
presetEdge,
{
target: "library",
env: "production",
compression: minified,
debug: DEBUG_PRESETS
}
Expand Down

0 comments on commit dde2c87

Please sign in to comment.