File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,19 @@ Need to extend the Babel configuration further? The easiest way is via
1818
1919 .configureBabel (function (babelConfig ) {
2020 // add additional presets
21- // babelConfig.presets.push('@babel/preset-flow');
21+ babelConfig .presets .push (' @babel/preset-flow' );
2222
2323 // no plugins are added by default, but you can add some
24- // babelConfig.plugins.push('styled-jsx/babel');
24+ babelConfig .plugins .push (' styled-jsx/babel' );
2525 }, {
2626 // node_modules is not processed through Babel by default
2727 // but you can whitelist specific modules to process
28- // include_node_modules: ['foundation-sites']
28+ include_node_modules: [' foundation-sites' ],
2929
30- // or completely control the exclude
31- // exclude: /bower_components/
30+ // or completely control the exclude rule (note that you
31+ // can't use both "include_node_modules" and "exclude" at
32+ // the same time)
33+ exclude: / bower_components/
3234 })
3335 ;
3436
You can’t perform that action at this time.
0 commit comments