Require figwheel-bridge.js with relative path
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
This commit is contained in:
parent
07500385d8
commit
90fe7b903a
|
@ -772,7 +772,7 @@ generateDevScripts = () ->
|
||||||
|
|
||||||
for platform in platforms
|
for platform in platforms
|
||||||
moduleMap = generateRequireModulesCode(platformModulesAndImages(config, platform))
|
moduleMap = generateRequireModulesCode(platformModulesAndImages(config, platform))
|
||||||
fs.writeFileSync "index.#{platform}.js", "#{moduleMap}require('figwheel-bridge').withModules(modules).start('#{projName}','#{platform}','#{devHost[platform]}');"
|
fs.writeFileSync "index.#{platform}.js", "#{moduleMap}require('./figwheel-bridge').withModules(modules).start('#{projName}','#{platform}','#{devHost[platform]}');"
|
||||||
log "index.#{platform}.js was regenerated"
|
log "index.#{platform}.js was regenerated"
|
||||||
|
|
||||||
updateIosRCTWebSocketExecutor(devHost.ios)
|
updateIosRCTWebSocketExecutor(devHost.ios)
|
||||||
|
|
Loading…
Reference in New Issue