We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 714a732 commit a07238cCopy full SHA for a07238c
index.js
@@ -640,8 +640,15 @@ class Encore {
640
* Encore.configureBabel(function(babelConfig) {
641
* // change the babelConfig
642
* }, {
643
- * // set optional Encore-specific options
644
- * // exclude: /(node_modules|bower_components)/
+ * // set optional Encore-specific options, for instance:
+ *
645
+ * // change the rule that determines which files
646
+ * // won't be processed by Babel
647
+ * exclude: /bower_components/
648
649
+ * // ...or keep the default rule but only allow
650
+ * // *some* Node modules to be processed by Babel
651
+ * include_node_modules: ['foundation-sites']
652
* });
653
*
654
* Supported options:
0 commit comments