Skip to content

3.1.0

Choose a tag to compare

@RafikiTiki RafikiTiki released this 25 Jan 11:29
· 611 commits to main since this release

Minor Changes

  • #287 47bdd09 Thanks @andrewworld!

    A new optional callback shouldUpdateScript was added. It could be passed into so-called locator config in addResolver callback function return statement. Its main usage would be to ask a user whether they want to download the latest update of Federated Scripts or not (for example – if they are not connected to wifi and they would rather save their cellular data).

    shouldUpdateScript?: (
        scriptId?: string,
        caller?: string,
        isScriptCacheOutdated?: boolean
    ) => Promise<boolean> | boolean;
    

    More info and a set of examples describing what are the intended usages of this API will be published soon in a form of a guide in Repack docs. For now, if you're interested in playing with this API please refer to the linked PR or to the API docs

Patch Changes

  • #288 7e0092e Thanks @RafikiTiki! - Fix #258 – previously entryName config value was not passed from RepackPlugin to the OutputPlugin.