Skip to content

Conversation

@LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Mar 16, 2023

Description

In our webpack caching setup, correctly look for .js and .mjs variants of gatsby-node.mjs. The bug mentioned in #37069 (comment) happened when one used onCreateWebpackConfig in a gatsby-node.mjs file.

Tests

Didn't add any

Related Issues

Fixes #37069 (comment)

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Mar 16, 2023
@LekoArts LekoArts added topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Mar 16, 2023
@LekoArts LekoArts added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Mar 16, 2023
@LekoArts LekoArts merged commit 438ddda into master Mar 16, 2023
@LekoArts LekoArts deleted the fix-webpack-esm-caching branch March 16, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: merge on green Gatsbot will merge these PRs automatically when all tests passes topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants