Skip to content

Commit

Permalink
Fix TS problem
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdz committed Nov 17, 2020
1 parent b9ccdb3 commit 7d7554b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/bootstrap/resolve-module-exports.ts
Expand Up @@ -81,7 +81,7 @@ const staticallyAnalyzeExports = (
// get foo from `export { foo } from 'bar'`
// get foo from `export { foo }`
ExportSpecifier: function ExportSpecifier(astPath) {
const exportName = astPath?.node?.exported?.name
const exportName = astPath?.node?.exported?.name ?? ``
isES6 = true
if (exportName) {
exportNames.push(exportName)
Expand Down

0 comments on commit 7d7554b

Please sign in to comment.