#Bun build creating a lot of files

1 messages · Page 1 of 1 (latest)

round kelp
#

Im making a simple html thingy and i wanted to use ts so i used bun build --watch --experimental-html --outdir=dist index.html to transpile it to js but now its filling up my dist folder with a lot of files, any idea how i could make it not do that?

molten lily
round kelp
#

nope, it just keeps making new ones, tough that might have been after running it like 3 times so its prob not all from one run

molten lily
#

Then the only other way it ahould be making many from only one entrypoint is if you use dynamic import, but that doesn't make sense as they all have to be named index to make sense

#

I think you should try to rm -rf build && bun build...