0.2.0 • Published 2 days ago

expo-atlas v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 days ago

Expo Atlas

Inspect bundle contents, on module level, from Metro.

!Warning This project is highly experimental and will likely not work for your project.

🚀 How to use it

Install the expo-atlas package as (development) dependency to your project:

$ npx expo install expo-atlas

Configure your Metro config to emit an Atlas file containing information about your bundles.

const { getDefaultConfig } = require('expo/metro-config');
const { withExpoAtlas } = require('expo-atlas/metro');

const config = getDefaultConfig(__dirname);

// Add the `withExpoAtlas` from `expo-atlas/metro` as last change
module.exports = withExpoAtlas(config);

After that, you can generate a new bundle and inspect these through the CLI

# Export bundles for all platforms,
# or use `--platform android --platform ios` to enable specific exports
$ npx expo export --platform all

# Start inspecting
$ npx expo-atlas

🧑‍🤝‍🧑 Sharing the Atlas file

You can also open a previously created atlas.jsonl file:

$ npx expo-atlas ./path/to/atlas.jsonl
0.2.0

2 days ago

0.1.2

5 days ago

0.1.1

9 days ago

0.1.0

11 days ago

0.0.19

12 days ago

0.0.18-preview.3

13 days ago

0.0.18

13 days ago

0.0.18-preview.2

27 days ago

0.0.18-preview.1

27 days ago

0.0.16

1 month ago

0.0.17

1 month ago

0.0.15

1 month ago

0.0.12

1 month ago

0.0.13

1 month ago

0.0.14

1 month ago

0.0.11

1 month ago

0.0.10

1 month ago

0.0.9

1 month ago

0.0.8

1 month ago

0.0.7

1 month ago

0.0.5

2 months ago

0.0.6

2 months ago

0.0.4

2 months ago

0.0.3

2 months ago

0.0.2

2 months ago

0.0.1

2 months ago

0.0.0

2 months ago