mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This fixes a `CurCacheHandler is not a constructor` error when the custom cache handler path is transpiled from ESM -> CJS (resulting in the handler being attached to the `default` property on the module's exports) Closes NEXT-1558 Fixes #54453
3 lines
102 B
TypeScript
3 lines
102 B
TypeScript
process.env.CUSTOM_CACHE_HANDLER = require.resolve('./cache-handler.js')
|
|
require('./app-static.test')
|