Hello,
I've been hooked on this issue for 2 days before I finally decided to open an issue, although it may not be a valid issue related to the project, but please bear with me... thanks
When trying to set up hot reload on a project using the plugin HotModuleReplacementPlugin
plugins: [
new webpack.HotModuleReplacementPlugin(),
new webpack.NoErrorsPlugin()
],
It renders the following error
/home/mozartted/PROJECTS/javascript/angular2SailsStarterPack/node_modules/sails-webpack/node_modules/webpack/lib/Tem
plate.js:114
source.add(moduleTemplate.render(module, dependencyTemplates, chunk));
^
TypeError: moduleTemplate.render is not a function
at /home/mozartted/PROJECTS/javascript/angular2SailsStarterPack/node_modules/sails-webpack/node_modules/webpack/
lib/Template.js:114:30
So I'm trying to fix this issue since the hot-reload is pertinent to the project.
Thanks
Hello,
When trying to set up hot reload on a project using the plugin HotModuleReplacementPlugin
It renders the following error
/home/mozartted/PROJECTS/javascript/angular2SailsStarterPack/node_modules/sails-webpack/node_modules/webpack/lib/Tem plate.js:114 source.add(moduleTemplate.render(module, dependencyTemplates, chunk)); ^ TypeError: moduleTemplate.render is not a function at /home/mozartted/PROJECTS/javascript/angular2SailsStarterPack/node_modules/sails-webpack/node_modules/webpack/ lib/Template.js:114:30So I'm trying to fix this issue since the hot-reload is pertinent to the project.
Thanks