├── .gitattributes ├── .github ├── copilot-instructions.md └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE ├── README.md ├── biome.json ├── example ├── .gitignore ├── App.js ├── app.json ├── assets │ ├── .gitignore │ └── React-icon.svg ├── index.js ├── metro.config.js ├── package-lock.json └── package.json ├── integration_tests ├── bundles │ ├── TestBundle.js │ └── images │ │ ├── .gitignore │ │ └── image.svg ├── integration.test.ts └── metro.config.js ├── package.json ├── src ├── cache.test.ts ├── cache.ts ├── config.test.ts ├── config.ts ├── index.test.ts ├── index.ts ├── sharp.ts └── utils │ ├── fs.test.ts │ ├── fs.ts │ ├── func.test.ts │ └── func.ts ├── tsconfig.build.json └── tsconfig.json /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf -------------------------------------------------------------------------------- /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | lib/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/README.md -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/biome.json -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/example/App.js -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/example/app.json -------------------------------------------------------------------------------- /example/assets/.gitignore: -------------------------------------------------------------------------------- 1 | # react-native-svg-asset-plugin 2 | .png-cache/ 3 | -------------------------------------------------------------------------------- /example/assets/React-icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/example/assets/React-icon.svg -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/example/index.js -------------------------------------------------------------------------------- /example/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/example/metro.config.js -------------------------------------------------------------------------------- /example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/example/package-lock.json -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/example/package.json -------------------------------------------------------------------------------- /integration_tests/bundles/TestBundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/integration_tests/bundles/TestBundle.js -------------------------------------------------------------------------------- /integration_tests/bundles/images/.gitignore: -------------------------------------------------------------------------------- 1 | *.png -------------------------------------------------------------------------------- /integration_tests/bundles/images/image.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/integration_tests/bundles/images/image.svg -------------------------------------------------------------------------------- /integration_tests/integration.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/integration_tests/integration.test.ts -------------------------------------------------------------------------------- /integration_tests/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/integration_tests/metro.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/package.json -------------------------------------------------------------------------------- /src/cache.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/src/cache.test.ts -------------------------------------------------------------------------------- /src/cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/src/cache.ts -------------------------------------------------------------------------------- /src/config.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/src/config.test.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/src/index.test.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/sharp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/src/sharp.ts -------------------------------------------------------------------------------- /src/utils/fs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/src/utils/fs.test.ts -------------------------------------------------------------------------------- /src/utils/fs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/src/utils/fs.ts -------------------------------------------------------------------------------- /src/utils/func.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/src/utils/func.test.ts -------------------------------------------------------------------------------- /src/utils/func.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/src/utils/func.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aeirola/react-native-svg-asset-plugin/HEAD/tsconfig.json --------------------------------------------------------------------------------