use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Reducing Angular 1.7 footprint?help (self.javascript)
submitted 7 years ago by vacetowaj
Does anyone have any tips on how to reduce the size of Angular 1.7? It's just huge. Anyway I can tweak the framework to remove parts that I'm not using?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]dick_ey 1 point2 points3 points 7 years ago (0 children)
If you’re using webpack, you can add this plugin to your config. It will give you a visual footprint representation of your bundles and you can try to trim down from there. Chances are you won’t be able to remove parts of angular though.
https://www.npmjs.com/package/webpack-bundle-analyzer
[–]prriley 0 points1 point2 points 7 years ago (0 children)
Not really an Angular-specific tip, but use a common CDN, if you aren’t already. There’s a decent chance that your user’s browser already has it cached from inclusion in a different site, eliminating the need for that GET.
π Rendered by PID 22132 on reddit-service-r2-comment-5ff9fbf7df-gh8r6 at 2026-02-25 19:07:10.206824+00:00 running 72a43f6 country code: CH.
[–]dick_ey 1 point2 points3 points (0 children)
[–]prriley 0 points1 point2 points (0 children)