Skip to content

Will Trex avoid the shortcomings of npm? #84

Answered by t8
mphelp asked this question in Q&A
Discussion options

You must be logged in to vote

Though I'm not directly tagged in this thread, I think I should point out that Trex' import map file is only slightly comparable to a node package.json file. I took a look at the video you referenced, and yes, Trex does use an import map, but they only do this in an effort to make the developer experience easier when vendoring modules. package.json also includes many other fields that add to the "bloated" effect it has on the ecosystem.

I personally do not see any other way for them to go about implementing this while maintaining the smooth developer experience that they have. When choosing to vendor modules, I feel that this controversy would become relevant for any import system. One co…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by buttercubz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #35 on February 09, 2021 05:03.