HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
facebookarchive
prepack
JavaScript2017–2025
facebookarchive / prepack · Archived

prepack

A JavaScript bundle optimizer.

10Distinct people
11Mentions
0Explicit recommenders
14.1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A JavaScript bundle optimizer.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:03:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year11 dated mentions

Observed mentions: 2017-05-03 22:36:15 UTC to 2025-09-15 03:09:20 UTC.

012342017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC404
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC211
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC110
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

What Hacker News says

11 sources
I’d actually love to see something that goes in the opposite direction, highly optimized and compiled, where the result is as small, fast, and efficient as possible. I get that a lot of people dislike compilation, but once I have the CI set upI never found build steps to be a problem for me. Some time ago while I was experimenting with writing Debian benchmarks[0], I found that by completely avoiding strings, using Uint8Arrays, and manually managing bounds/memory, I could squeeze out performance that almost made you forget you were writing JavaScript. I never ended up submitting a PR, but it was pretty eye-opening. At one point I went into a rabbit hole and tried to build something similar on my own, but it got complicated very quickly given my limited compiler knowledge. That’s why I always thought Prepack[1] was such a cool idea. [0] ht
Read the rest
In Show HN: Dagger.js – A buildless, runtime-only JavaScript micro-framework
taosx·Dec 25, 2023Submission

Ask HN: Interest in a Rust-Inspired Language Compiling to JavaScript?

Hello HN, I'm considering the development of a new programming language, drawing inspiration from Rust's strengths, with a focus on compiling to JavaScript. Here what I'm considering are some key features: - Strict Typing System: no type-related bugs. - Algebraic Data Types. - Exhaustiveness Checks. - 'Unsafe' Mode: Directly interact with external JavaScript/TypeScript. - no 'null/undefined': Option/Result instead. - Trait-Based Programming. - Backend Development Focus. - Compiler: dead-code elimination and partial evaluation, similar to Prepack[0] (by Facebook). I believe this approach could bring significant benefits, especially with recent additions like TypedArray and worker threads. Would this be of interest to the community? Looking forward to your insights and discussion. Currently I don't feel confident to complete the project as
Read the rest
I am so any recommended resources[1] would be extremely helpful, especially around the area of implementing types. [0] https://github.com/facebookarchive/prepack [1] https://github.com/taosx/axido (nothing is decided)
14 points · Open discussion
You're comparing a tool which you have source for and control over with a service which is out of your control. The comparison is of apples and oranges. Compare something like flow [1], reason [2], or prepack[3] as it's tools which serves you rather than the company behind it with access to the source which is the same as the case for weboob if you want to compare against facebook. I don't see an issue with using them though as they don't collect data on you. [1]: https://github.com/facebook/flow [2]: https://github.com/facebook/reason [3]: https://github.com/facebook/prepack [4]: https://github.com/majestrate/XD
In Weboob
They're influencing the internet in more ways than just social stuff, though. From a technology perspective, Facebook is doing solid work. And it looks like they're continuing the trend - rather than being at the end of it. Facebook's open source footprint is quite influential. Namely, React + Redux + Reselect are pretty sweet. React-Native. Haven't used it, but hhvm. And I haven't heard of this one before, but it looks cool: https://github.com/facebook/prepack https://github.com/facebook That's a nice portfolio.
In Reasons to think that, in terms of influence if not wealth, Facebook has peaked
Webpack handles sourcemaps, and one of us, gajus, has already integrated it. Prepack should be just another stage in the build pipeline. Having said that, there appears to be a sourceMaps flag in the Prepack source: https://github.com/facebook/prepack/blob/57cc59c07d164e4827c... I will be attempting to use this as a simple black box, relying on Webpack for features that are only tangentially related to this new optimization stage in my build stack.
In Prepack helps make JavaScript code more efficient

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.