https://pulumi.com logo
Title
i

icy-jordan-58549

05/19/2021, 4:38 AM
Team, looks like typescript definitions embedded in one single package (azure-native) drains tons of resources on development machine, is it possible to divide the package into multi-package / plugin per namespace? Something like:
@pulumi/azure-native-network
. Another possible solutions would be to not create one giant input types definition file and make it per namespace. Thanks
input 18M, output 21.6M…
with my machine I can’t render both files in most cases
b

billowy-army-68599

05/19/2021, 4:46 AM
Maybe I’m missing something here, but 21mb doesn’t seem that much?
(It’s obviously larger than your average ts definition)
i

icy-jordan-58549

05/19/2021, 6:10 AM
total is 40M for both input and output + other small definitions per namespace
t

tall-librarian-49374

05/19/2021, 6:13 AM
Could you file an issue for inputs/outputs split in pulumi/pulumi? I agree it would be a good improvement.
👍 1
i

icy-jordan-58549

05/19/2021, 6:17 AM
g

gorgeous-country-43026

05/19/2021, 7:33 AM
Yeah, I've seen this problem too. If I remember correctly when I finally got it open it had over 600 kloc in one file
i

icy-jordan-58549

05/19/2021, 7:35 AM
true