Closed
Description
in react-native version 0.44,the code below runs well
require('./img/tabbar/pfb_tabbar_homepage_selected@2x.png')
but when i update react-native to version 0.46.4, the code runs error.
the error msg shows:
bundling failed: "Unable to resolve module ./img/tabbar/pfb_tabbar_homepage@2x.png from F:\code\react-native\meituanCopy\src\RootScene.js: could not resolve `F:\code\react-native\meituanCopy\src\img\tabbar\pfb_tabbar_homepage@2x.png' as a folder: it did not contain a package, nor an index file"