Closed gadicc closed 8 years ago
Will be needed for at least a hash on a user's custom .babelrc and maybe other things in the future.
.babelrc
Example usage is as expected (sorry, a few other things snuck into this commit): https://github.com/gadicc/meteor-react-hotloader/commit/cb2fd8a387d1427340e8aa560728d1a12300b3d0
We can discuss more in https://github.com/meteor/meteor/issues/6351.
Update: e.g. need to hash on process.env.BABEL_ENV || process.env.NODE_ENV too, since .babelrc contains env-specific configs. Could use to pass an optional preferential sourceHash to speed up hashing (as per #8)
process.env.BABEL_ENV || process.env.NODE_ENV
sourceHash
Will be needed for at least a hash on a user's custom
.babelrc
and maybe other things in the future.Example usage is as expected (sorry, a few other things snuck into this commit): https://github.com/gadicc/meteor-react-hotloader/commit/cb2fd8a387d1427340e8aa560728d1a12300b3d0
We can discuss more in https://github.com/meteor/meteor/issues/6351.
Update: e.g. need to hash on
process.env.BABEL_ENV || process.env.NODE_ENV
too, since.babelrc
contains env-specific configs. Could use to pass an optional preferentialsourceHash
to speed up hashing (as per #8)