The primary downside of this project-wide config is that, because it relies on the workingĭirectory, it can be more painful to use in monorepos if the working directory is not the monorepo root. Which were traditionally quite painful to configure in Babel 6.x. Plugins and presets to easily apply to files in node_modules or in symlinked packages, "configFile" value to override the default config file search behavior.īecause project-wide config files are separated from the physical location of the configįile, they can be ideal for configuration that must apply broadly, even allowing For project-wide configuration, Babel will automatically searchįor a file, or an equivalent one using the supported extensions, New in Babel 7.x, Babel has a concept of a "root" directory, which defaults
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |