Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Override babel ignore defaults to transpile internal node_modules dir…
…ectories (closes cloverfield-tools#41).
- Loading branch information
acb1c5a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using the
ignore
option for babel should accomplish that, it you really need to. I generally ignorenode_modules
now. What do you have innode_modules
that you need to compile?Note that this commit is still ignoring the
node_modules
in the project root. It's designed to include secondarynode_modules
folders nested in the project—a pattern in cloverfield-tools/universal-react-boilerplate that was used to avoid ugly relative paths in requires (require '../../../module/file.js';
). I do that now using explicitly defined resolve roots in Babel or Webpack.acb1c5a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid I've been as much help as I can. Perhaps look for assistance in a Babel channel.