#web support for @discordjs/collection

37 messages · Page 1 of 1 (latest)

zenith tusk
#

You can't use a bundler like vite?

icy sierra
#

What about /collection isn’t web compatible?

vestal tide
vestal tide
#

that's why i propose a .min.js on a cdn

zenith tusk
#

Out of curiousity what's a use case?

icy sierra
vestal tide
#

it's how that's work

#

web doesnt allow directly ts

#

we need to compile it

icy sierra
#

Yes and it ships the compiled js when installed

vestal tide
icy sierra
#

even if it didn’t it’s not the responsibility of the package maintainer but the web bundler

vestal tide
#

i just a request a cdn js

zenith tusk
#

I wonder if there just is a cdn that compiles ts

vestal tide
#

i talked about github action

#

anyways it's not NEEDED but would be practical, i will do a pull request and i will see

errant turtle
zenith tusk
#

I still don't understand why you don't just use a bundler

vestal tide
#

because all my scripts are imported by script tags

icy sierra
vestal tide
#

no, you compiled it

#

what i ask is a precompilation

icy sierra
vestal tide
#

like all other frameworks

errant turtle
icy sierra
#

The package ships the compiled js

vestal tide
#

it's what i asked

#

i didn't know it was done

icy sierra
vestal tide
#

subject resolved

vestal tide
icy sierra
#

It’s not on the GitHub bc packages aren’t supposed to host build artifacts in source control

vestal tide
#

yes, i checked releases