diff --git a/sdk/core/core-xml/CHANGELOG.md b/sdk/core/core-xml/CHANGELOG.md index 0bb015b20af9..575a0a0115f7 100644 --- a/sdk/core/core-xml/CHANGELOG.md +++ b/sdk/core/core-xml/CHANGELOG.md @@ -8,6 +8,8 @@ ### Bugs Fixed +- Add a `react-native` mapping to use `fast-xml-parser` for xml building/parsing as it is already in our dependency list. With this customers don't need to polyfill the DOM api for XML processing. + ### Other Changes ## 1.2.0 (2022-02-03) diff --git a/sdk/core/core-xml/package.json b/sdk/core/core-xml/package.json index 87ac64aa2044..3818c3206d68 100644 --- a/sdk/core/core-xml/package.json +++ b/sdk/core/core-xml/package.json @@ -8,6 +8,10 @@ "browser": { "./dist-esm/src/xml.js": "./dist-esm/src/xml.browser.js" }, + "react-native": { + "./dist/index.js": "./dist-esm/src/index.js", + "./dist-esm/src/xml.js": "./dist-esm/src/xml.js" + }, "types": "types/latest/core-xml.d.ts", "typesVersions": { "<3.6": {