Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Is it possible to use my own LoaderStrategy? - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
โข
2y ago
โข
25 replies
Pat
Is it possible to use my own LoaderStrategy?
I want to add support for
tsx
. Currently I
've got it working by editing the LoaderStrategy file in node
_modules and setting
shouldLoadTsFiles
shouldLoadTsFiles
to
true
true
. Is there a way to do this using sapphire
?
Solution
Opened
https://github.com/sapphiredev/pieces/pull/415
GitHub
feat: check for more environments for TS support by kyranet ยท Pull ...
Added the following
:
@babel
/node
@swc
/cli
esbuild
jest
tsm
tsx
vitest
On top of the existing
:
Deno
Bun
ts
-node
Jump to solution
Sapphire - Imagine a Framework
Join
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,261
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Is it possible to use discord.js-light with Sapphire?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
4y ago
Is it possible to dev Offline ?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Is it possible to disable automatic search for commands?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
LoaderStrategy: promises.opendir is being broken if using with @vercel/pkg library
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago