(change): use node_modules/.cache/... as cacheRoot #329
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
gitignore these directories, just output to node_modules/.cache/
initially appended _${opts.format} to it
as its default cache directory and does not allow users to
change it
[1]: https://github.com/ezolenko/rollup-plugin-typescript2#plugin-options >
cacheRoot
[2]: https://github.com/babel/babel-loader#options >
cacheDirectory
[3]: https://github.com/parcel-bundler/parcel#caching
[4]: https://github.com/fuse-box/fuse-box/blob/master/docs/getting-started/get-started.md#caching
Fixes #328 . Not sure if this change makes sense as, per the issue, I don't know / couldn't find the rationale for using the app root
.rts2_cache_*
directories. I'm also not sure if just removing thecacheRoot
option and using the default may cause issues -- I'm assuming the${opts.format}
is there because it does, so I left it in while moving the cache intonode_modules
.Feel free to close if this doesn't make sense, #328 is more of a question, but I figure I might as well make the small changes I suggested for it in case it does.