Skip to content

Commit

Permalink
chore: add rnx-kit.bundle config for testing purposes (#2272)
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 authored Oct 8, 2024
1 parent 4ea13f8 commit c5ebd15
Showing 1 changed file with 40 additions and 3 deletions.
43 changes: 40 additions & 3 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,47 @@
"eslintConfig": {
"extends": "../.github/eslint.config.js"
},
"rnx-kit//disabled": {
"//": "This configuration is only used for Viewfinder",
"rnx-kit": {
"kitType": "app",
"alignDeps": {
"bundle": [
{
"id": "main",
"entryFile": "index.ts",
"assetsDest": "dist",
"targets": [
"android",
"ios",
"macos",
"visionos",
"windows"
],
"platforms": {
"android": {
"bundleOutput": "dist/main.android.jsbundle",
"sourcemapOutput": "dist/main.android.jsbundle.map",
"assetsDest": "dist/res"
},
"ios": {
"bundleOutput": "dist/main.ios.jsbundle",
"sourcemapOutput": "dist/main.ios.jsbundle.map"
},
"macos": {
"bundleOutput": "dist/main.macos.jsbundle",
"sourcemapOutput": "dist/main.macos.jsbundle.map"
},
"visionos": {
"bundleOutput": "dist/main.visionos.jsbundle",
"sourcemapOutput": "dist/main.visionos.jsbundle.map"
},
"windows": {
"bundleOutput": "dist/main.windows.bundle",
"sourcemapOutput": "dist/main.windows.bundle.map"
}
}
}
],
"alignDeps//disabled": {
"//": "This configuration is only used for Viewfinder",
"requirements": [
"[email protected]"
],
Expand Down

0 comments on commit c5ebd15

Please sign in to comment.