Skip to content

Commit

Permalink
fix: add missing exports for nodenext compatibility (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Nov 22, 2022
1 parent cd2adf9 commit 2b40b79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,3 +518,5 @@ module.exports = fp(fastifyStatic, {
fastify: '4.x',
name: '@fastify/static'
})
module.exports.default = fastifyStatic
module.exports.fastifyStatic = fastifyStatic

0 comments on commit 2b40b79

Please sign in to comment.