mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-09-11 14:46:37 +03:00
Summary: Release notes: upgrades Prepack to use Babel 7.0.0-beta.53 This is a big PR that updates all of Prepack to Babel 7. Babylon is now `babel/parser` and pretty much all of the the previous Babel packages are now located in scoped packages. I had to make a bunch of changes around Jest/Flow/Webpack to get this all working. The build times of building Prepack itself seem considerably faster (easily twice as fast locally). I followed most of the Babel 6 -> 7 upgrade guide from the Babel site in terms of changing nodes and type definitions to match the new ones. Pull Request resolved: https://github.com/facebook/prepack/pull/2256 Differential Revision: D8850583 Pulled By: trueadm fbshipit-source-id: 2d2aaec25c6a1ccd1ec0c08c5e7e2a71f78ac2d8
7 lines
227 B
JavaScript
7 lines
227 B
JavaScript
// flow-typed signature: 60de437d85342dea19dcd82c5a50f88a
|
|
// flow-typed version: da30fe6876/invariant_v2.x.x/flow_>=v0.33.x
|
|
|
|
declare module invariant {
|
|
declare module.exports: (condition: boolean, message: string) => void;
|
|
}
|