mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Cache modules for jsx grunt tasks in react-tools/.module-cache.
As of Commoner v0.6.11, the default is to put the cache files in
output/.module-cache, which used to be build/modules/.module-cache
before this commit. That still happens when you run bin/jsx directly,
just not for grunt tasks anymore.
The module cache needs to be cleared much less often than
build/modules, so it doesn't make sense to throw away all that work.
(cherry picked from commit 880ada0a1c)
This commit is contained in:
committed by
Paul O’Shannessy
parent
1c486c40d0
commit
9b810bd7b9
@@ -9,6 +9,7 @@ module.exports = function() {
|
||||
|
||||
var args = [
|
||||
"bin/jsx",
|
||||
"--cache-dir", ".module-cache",
|
||||
config.sourceDir,
|
||||
config.outputDir
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user