diff --git a/react-packager/src/Bundler/HMRBundle.js b/react-packager/src/Bundler/HMRBundle.js index caf3ec67..1153b164 100644 --- a/react-packager/src/Bundler/HMRBundle.js +++ b/react-packager/src/Bundler/HMRBundle.js @@ -34,10 +34,10 @@ class HMRBundle extends BundleBase { return Promise.resolve(); } - getModulesNamesAndCode() { + getModulesIdsAndCode() { return this._modules.map(module => { return { - name: JSON.stringify(module.name), + id: JSON.stringify(module.id), code: module.code, }; });