diff --git a/.changeset/honest-rats-deny.md b/.changeset/honest-rats-deny.md new file mode 100644 index 00000000000..ceb0bc1d650 --- /dev/null +++ b/.changeset/honest-rats-deny.md @@ -0,0 +1,5 @@ +--- +"@firebase/firestore": patch +--- + +Fix the path to the react native build for the Firestore memory build diff --git a/packages/firestore/rollup.config.rn.js b/packages/firestore/rollup.config.rn.js index 61878e58938..b89adc481bf 100644 --- a/packages/firestore/rollup.config.rn.js +++ b/packages/firestore/rollup.config.rn.js @@ -60,7 +60,7 @@ export default [ bundle: 'index.bundle.ts' }, output: { - dir: 'dist/rn', + dir: 'dist/memory/rn', format: 'es', sourcemap: true }, diff --git a/packages/storage/package.json b/packages/storage/package.json index b0f5c6a292f..857a67e4d3d 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -14,7 +14,7 @@ "scripts": { "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'", "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'", - "build": "rollup -c rollup.config.compat.js", + "build": "rollup -c rollup.config.compat.js && yarn build:exp", "build:exp": "rollup -c rollup.config.exp.js ; yarn api-report", "build:deps": "lerna run --scope @firebase/storage --include-dependencies build", "dev": "rollup -c -w",