diff --git a/packages/gatsby/src/utils/worker/child.js b/packages/gatsby/src/utils/worker/child.js deleted file mode 100644 index 25e8bd6469992..0000000000000 --- a/packages/gatsby/src/utils/worker/child.js +++ /dev/null @@ -1,8 +0,0 @@ -// Note: this doesn't check for conflicts between module exports -import { getFilePath } from "./page-data" -import { renderHTML } from "./render-html" - -module.exports = { - getFilePath, - renderHTML, -} diff --git a/packages/gatsby/src/utils/worker/child.ts b/packages/gatsby/src/utils/worker/child.ts new file mode 100644 index 0000000000000..2bcff0b379e4e --- /dev/null +++ b/packages/gatsby/src/utils/worker/child.ts @@ -0,0 +1,3 @@ +// Note: this doesn't check for conflicts between module exports +export { getFilePath } from "./page-data" +export { renderHTML } from "./render-html"