Skip to content

Commit

Permalink
fix: use commonjs for legacy middleware export (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Jan 25, 2023
1 parent 206a12e commit 1d7c50a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware.js
@@ -1,2 +1,2 @@
// Necessary for `get-it/middleware` imports to work with setups not setup to be ESM native, like older `jest` configs.
export * from './dist/middleware'
module.exports = require('./dist/middleware.cjs')

0 comments on commit 1d7c50a

Please sign in to comment.