|
Download wp-calypso/packages/babel-plugin-transform-wpcalypso-async/CHANGELOG.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 749 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/babel-plugin-transform-wpcalypso-async/CHANGELOG.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/babel-plugin-transform-wpcalypso-async/CHANGELOG.md
-
curl -L -o CHANGELOG.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/babel-plugin-transform-wpcalypso-async/CHANGELOG.md
749 Bytes
| # Changelog | |
| All notable changes to this project will be documented in this file. | |
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | |
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | |
| ## Unreleased | |
| ### Changed | |
| - The `require` callback now gets the module object as a parameter, not just its default field (for compatibility with `React.lazy`) | |
| - The `ignore` option converts the `import` expression into a rejected `Promise` instead of removing it | |
| ### Removed | |
| - Removed the `async` option and started transforming all usages to async loads by default | |
| - Removed support for `callback` argument for `asyncRequire`, keeping only the `Promise` version | |
| ## 1.0.1 | |
| - Initial release | |