prepack icon indicating copy to clipboard operation
prepack copied to clipboard

A JavaScript bundle optimizer.

Results 100 prepack issues
Sort by recently updated
recently updated
newest added

ReferenceError: $ is not defined at script.js:84:1 (https://github.com/facebook/prepack/wiki/PP0023)

help wanted
environment modeling

I'm dealing with [code.org's AppLab](https://code.org/educate/applab) for one of my projects. I'm using Scala and [compiling to Scala.JS](https://gist.github.com/sorenbug/7267c37a4e1e736a585364f4e2c7890d). This Scala registers event handlers to AppLab's `onEvent` function but prepack is recognizing...

question
environment modeling

Planning for optimized functions (original issue #799) mostly for H2 2018, but some stuff for past then. Under each category, the items are in rough order of priority Anything *italicized*...

optimized functions

Here's a strange issue that I've been running into with the React Native bundle. Our module system initializes and when doing so, can run into cases where there's an abstract...

bug
priority: high
react compiler

This is a follow-up from some of the internal discussion we've had regarding the handling of abstract loops within Prepack. Given the example: ```js (function () { var array =...

abstract
react compiler

```js (function() { let a = global.__abstract ? __makeSimple(__abstract("array", "[1, 2, 3]")) : [1, 2, 3]; let i = 0; var o = {x:0}; do { i++; o.x = i;...

bug
abstract

```js let a = global.__abstract ? __makeSimple(__abstract("array", "[1, 2, 3]")) : [1, 2, 3]; let i = 0; var o = {x:0}; do { i++; o[Symbol.iterator] = i; } while...

bug
serializer
abstract

We currently can't prepack the following code: ```js (function () { let a = []; if (__abstract("boolean", "x")) a.push(42); a.push(23); })(); ``` The last time I checked, the reason is...

enhancement
interpreter
abstract

If the behavior of a loop can be nicely summarized as a set of unknown properties on known objects, the the effects of the loop on the heap is known...

enhancement
serializer
abstract
design needed
test needed

I find the mechanism to define a widened property as a value a bit awkward. It has many special cases. It leads to some tricky serialization issues when we try...

abstract