Merge pull request #102 from drapanjanas/fix-source-maps

Fix re-natal enable-source-maps
This commit is contained in:
Artūr Girenko 2017-03-15 19:21:31 +01:00 committed by GitHub
commit cf3afca9c2
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ updateGitIgnore = () ->
patchReactNativePackager = () ->
ckDeps.sync {install: true, verbose: false}
log "Patching react-native packager to serve *.map files"
edit "node_modules/react-native/packager/react-packager/src/Server/index.js",
edit "node_modules/react-native/packager/src/Server/index.js",
[[/match.*\.map\$\/\)/m, "match(/index\\..*\\.map$/)"]]
shimCljsNamespace = (ns) ->