Skip to content

Commit

Permalink
fix gatsby version
Browse files Browse the repository at this point in the history
  • Loading branch information
tlgimenes committed Jun 9, 2021
1 parent fd262e8 commit 25b3a92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/gatsby-theme-store/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,12 @@ exports.onCreateWebpackConfig = (
? '../../src/index'
: ''
),
'@vtex/store-ui$': resolve(
require.resolve('@vtex/store-ui', { paths: [process.cwd()] }),
stage === 'build-javascript' || stage === 'develop'
? '../../src/index'
: ''
),
// Resolve to the .ts versions of gatsby-(browser|ssr) so we don't end up by adding the whole lib.
...resolveToTS('gatsby-plugin-next-seo', 'gatsby-browser'),
...resolveToTS('gatsby-plugin-next-seo', 'gatsby-ssr'),
Expand Down

0 comments on commit 25b3a92

Please sign in to comment.