Navigation Menu

Skip to content

Commit

Permalink
Remove "modules: false" option since it must be a default now
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-skl committed Sep 11, 2018
1 parent 3a2d6d3 commit 387981c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Expand Up @@ -10,7 +10,6 @@ module.exports = function preset(api, opts) {
presets: [
require('@babel/preset-react'),
[require('@babel/preset-env'), {
modules: false, // Enables Webpack treeshaking
include: angularSupport
? ['transform-parameters'] // This fixes issue with transforming Angular code like `constructor(...args)`
: []
Expand Down

0 comments on commit 387981c

Please sign in to comment.