Vu Nguyen
Vu Nguyen3y ago

VuNguyen – 03-08 May 24

Hi, I'm trying to publish npm package, but the bundle size seem to big. So I wanna blacklist files has development on it's name. How can I do that? I tried to add *.development in .npmignore but it didn't works
9 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Vu Nguyen
Vu NguyenOP3y ago
alright let me try that also are .map files necessary to publish? this worked, thank you
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Vu Nguyen
Vu NguyenOP3y ago
yea its my first time so i dont know which files to include
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Vu Nguyen
Vu NguyenOP3y ago
Thanks for that, I found out that I can do this to exclude development builds
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Vu Nguyen
Vu NguyenOP3y ago
Thank you
reactibot
reactibot3y ago
This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/978494607488876575