Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Investigate how to use Metro caching #24

Open
mrtnzlml opened this issue Sep 10, 2018 · 1 comment
Open

Investigate how to use Metro caching #24

mrtnzlml opened this issue Sep 10, 2018 · 1 comment

Comments

@mrtnzlml
Copy link
Member

@mrtnzlml
Copy link
Member Author

File metro.config.js (in the project root):

// @flow

const path = require('path');
const { FileStore } = require('metro-cache');

module.exports = {
  cacheStores: [
    new FileStore({
      root: path.join(__dirname, 'metro-cache'),
    }),
  ],
};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant