Skip to content

Commit

Permalink
Merge pull request #102 from drapanjanas/fix-source-maps
Browse files Browse the repository at this point in the history
Fix re-natal enable-source-maps
  • Loading branch information
drapanjanas authored Mar 15, 2017
2 parents 89db09d + b91aed7 commit cf3afca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion re-natal.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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) ->
Expand Down

0 comments on commit cf3afca

Please sign in to comment.