fix(lib/assets): remove now-useless lookup
It no longer matches during preinit.
This commit is contained in:
parent
ce188950cd
commit
6c596a4a5c
1 changed files with 1 additions and 2 deletions
|
|
@ -23,7 +23,6 @@ import type { Asset, PackagerAsset } from './types'
|
|||
const { relative } = byDependencies
|
||||
|
||||
const [, _classCallCheckId] = lookupModule(byName('_classCallCheck'))
|
||||
const [, invariantId] = lookupModule(byName('invariant'))
|
||||
const [, _createClassId] = lookupModule(byName('_createClass'))
|
||||
|
||||
// https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/Image/AssetSourceResolver.js
|
||||
|
|
@ -33,7 +32,7 @@ const byAssetSourceResolver = byDependencies([
|
|||
relative(1),
|
||||
relative(2),
|
||||
undefined,
|
||||
invariantId,
|
||||
undefined,
|
||||
])
|
||||
|
||||
const cachedOnly = { cached: true }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue