lukeed / tsm

TypeScript Module Loader
MIT License
1.18k stars 19 forks source link

Is this repo still maintained? --experimental-loader warning #52

Open chrisnurse opened 10 months ago

chrisnurse commented 10 months ago

Hard to use this package due to the constant output of warnings: (node:11565) ExperimentalWarning: --experimental-loader may be removed in the future; instead use register(): --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///usr/local/share/nvm/versions/node/v20.9.0/lib/node_modules/tsm/loader.mjs", pathToFileURL("./"));' (Use node --trace-warnings ... to show where the warning was created)

Can someone please fix and update the npm published version. It would be very much appreciated.