2.0.0 • Published 12 months ago

@tbd54566975/web5-react-native-metro-config v2.0.0

Weekly downloads
-
License
Apache
Repository
github
Last release
12 months 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);
2.0.0

12 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago