Skip to content

Commit

Permalink
Added note - Interestingly snapshots fail when workaround is removed.…
Browse files Browse the repository at this point in the history
… Brilliant.
  • Loading branch information
swernerx committed Jul 13, 2018
1 parent a811f87 commit d6159f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default function buildPreset(context, input) {
// We need to make sure that stripping flow types is executed
// before some other specific plugins as the runtime of the code
// otherwise sometimes does not work correctly.
// Looks like being related to class properties.
plugins.unshift(flowStrip)

// Assemble final config
Expand Down

0 comments on commit d6159f7

Please sign in to comment.