1.0.3 • Published 15 days ago

@tbd54566975/web5-react-native-metro-config v1.0.3

Weekly downloads
-
License
Apache
Repository
github
Last release
15 days ago

Background

This zero dependency package provides a metro config to enable web5 to work on react native

Usage

Install package:

yarn add @tbd54566975/web5-react-native-metro-config

Add the package to your metro config.

Expo:

// Learn more https://docs.expo.io/guides/customizing-metro
const { getDefaultConfig } = require('expo/metro-config');
const { mergeConfig } = require('metro-config');

/** @type {import('expo/metro-config').MetroConfig} */
const config = getDefaultConfig(__dirname);
const web5Config = require('@tbd54566975/web5-react-native-metro-config');

module.exports = mergeConfig(config, web5Config);

React Native:

const { getDefaultConfig, mergeConfig } = require('metro-config');

const config = getDefaultConfig(__dirname);
const web5Config = require('@tbd54566975/web5-react-native-metro-config');

module.exports = mergeConfig(config, web5Config);
1.0.3

15 days ago

1.0.2

24 days ago

1.0.1

1 month ago

1.0.0

6 months ago

0.1.3

8 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

11 months ago