You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the feature has not already been requested
🚀 Feature Proposal
Allow build from 'fastify-cli/helper.js' to accept an existing module object instead of importing/requiring by itself.
Motivation
vitest doesn't support fully dynamic imports that well, especially inside imported modules which default to be externalized, which means the import will happen using Node's standard require/import which can't import TypeScript and has other limitations
Prerequisites
🚀 Feature Proposal
Allow
build
from'fastify-cli/helper.js'
to accept an existing module object instead of importing/requiring by itself.Motivation
vitest doesn't support fully dynamic imports that well, especially inside imported modules which default to be externalized, which means the import will happen using Node's standard
require
/import
which can't import TypeScript and has other limitationsExample
The text was updated successfully, but these errors were encountered: