Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(hmr): accept hot updates for modules above page templates #29752

Merged
merged 10 commits into from
Feb 27, 2021
Prev Previous commit
revert devtool change
  • Loading branch information
pieh committed Feb 26, 2021
commit 555b9ab5eaa4a6533968753b485032367605517a
2 changes: 1 addition & 1 deletion packages/gatsby/src/utils/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ module.exports = async (
function getDevtool() {
switch (stage) {
case `develop`:
return `cheap-module-source-map`
return `eval-cheap-module-source-map`
// use a normal `source-map` for the html phases since
// it gives better line and column numbers
case `develop-html`:
Expand Down