feat: move css to different package for size reduction (#2168)

PR based on https://github.com/software-mansion/react-native-svg/pull/1452 extracting `css` related components to different package to reduce the size of the package.

***THIS IS A BREAKING CHANGE***. From now on, you should import 
```
  SvgCss,
  SvgCssUri,
  SvgWithCss,
  SvgWithCssUri,
  inlineStyles,
  LocalSvg,
  WithLocalSvg,
  loadLocalRawResource,
  ```
 from `react-native-svg/css` package instead.
This commit is contained in:
Wojciech Lewicki
2023-11-14 11:50:03 +01:00
committed by GitHub
parent f88532d195
commit 2b030dda12
15 changed files with 152 additions and 71 deletions

View File

@@ -18,6 +18,7 @@
"common",
"lib",
"src",
"css",
"RNSVG.podspec",
"!android/build",
"windows",