typescript-lib-example icon indicating copy to clipboard operation
typescript-lib-example copied to clipboard

Updated to work with current webpack (4.x) and UglifyJS

Open jrheling opened this issue 6 years ago • 1 comments

Your example was really helpful as I worked through packaging a typescript component (thanks!), but I found a handful of details that no longer worked as illustrated in the example. I can't say with confidence that the attached is optimal, but it seems to produce the desired result, and I think is functionally equivalent to the original (but in a way that works with current versions of things).

jrheling avatar Jan 26 '20 22:01 jrheling

@jrheling I just stopped by to say thank you for this pull request, it saved me a lot of time. The fact this otherwise excellent article is outdated is hard to spot unless you look at a comment section (lack of publication dates alongside article titles doesn't help either) and it's particularly problematic because it still ranks high in Google search.

lwojcik avatar Aug 26 '20 13:08 lwojcik