react-native-asset 2.2.0-rc1 → 2.2.0-rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/cli.js CHANGED
@@ -31,7 +31,7 @@ export const runCli = async () => {
31
31
  }
32
32
  }
33
33
  const reactNativeConfig = reactNativeConfigExists
34
- ? (await import(path.join(args.path, `react-native.config.js`)))
34
+ ? (await import(path.join(args.path, `react-native.config.js`))).default
35
35
  : {};
36
36
  const merged = {
37
37
  assets: args.assets.length !== 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-asset",
3
- "version": "2.2.0-rc1",
3
+ "version": "2.2.0-rc2",
4
4
  "description": "Linking and unlinking of assets in your react-native app, works for fonts and sounds",
5
5
  "keywords": [
6
6
  "react-native",
package/script/cli.js CHANGED
@@ -67,7 +67,7 @@ const runCli = async () => {
67
67
  }
68
68
  }
69
69
  const reactNativeConfig = reactNativeConfigExists
70
- ? (await Promise.resolve(`${path.join(args.path, `react-native.config.js`)}`).then(s => __importStar(require(s))))
70
+ ? (await Promise.resolve(`${path.join(args.path, `react-native.config.js`)}`).then(s => __importStar(require(s)))).default
71
71
  : {};
72
72
  const merged = {
73
73
  assets: args.assets.length !== 0