File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -931,14 +931,19 @@ class Encore {
931
931
* determines which files and folders should not be
932
932
* processed by Babel (https://webpack.js.org/configuration/module/#condition).
933
933
* Can be used even if you have an external Babel configuration
934
- * (a .babelrc file for instance)
934
+ * (a babel.config.json file for instance)
935
+ * Warning: .babelrc config files don't apply to node_modules. Use
936
+ * babel.config.json instead to apply the same config to modules if
937
+ * they are not excluded anymore.
935
938
* Cannot be used if the "includeNodeModules" option is
936
939
* also set.
937
940
* * {string[]} includeNodeModules
938
941
* If set that option will include the given Node modules to
939
942
* the files that are processed by Babel.
940
943
* Can be used even if you have an external Babel configuration
941
- * (a .babelrc file for instance).
944
+ * (a babel.config.json file for instance).
945
+ * Warning: .babelrc config files don't apply to node_modules. Use
946
+ * babel.config.json instead to apply the same config to these modules.
942
947
* Cannot be used if the "exclude" option is also set
943
948
* * {'usage'|'entry'|false} useBuiltIns (default=false)
944
949
* Set the "useBuiltIns" option of @babel/preset-env that changes
You can’t perform that action at this time.
0 commit comments