Remove externs and add them to gitignore
lein generate-externs need externs directory to be present Create an externs directory with a gitignore file that only allows itself to be commited We are using simple optimizations for prod builds so this file is not used. We have much more useful output with :simple optimizations if an error happens, not just something like a.b.adsfas is undefined. The difference in size between advanced and simple optimizations is only about 300KB, and the RN packager also makes some magic with js after cljs compiler anyway.
This commit is contained in:
parent
b510488f11
commit
9e73097446
|
@ -0,0 +1,4 @@
|
|||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
|
@ -1,238 +0,0 @@
|
|||
var TopLevel = {
|
||||
"ActionSheetIOS" : function () {},
|
||||
"addEntropy" : function () {},
|
||||
"addEventListener" : function () {},
|
||||
"addListener" : function () {},
|
||||
"addOrientationListener" : function () {},
|
||||
"addSymmetricKeyFromPassword" : function () {},
|
||||
"Alert" : function () {},
|
||||
"alert" : function () {},
|
||||
"Animated" : function () {},
|
||||
"Array" : function () {},
|
||||
"awesome-phonenumber" : function () {},
|
||||
"BigNumber" : function () {},
|
||||
"blur" : function () {},
|
||||
"call" : function () {},
|
||||
"callJail" : function () {},
|
||||
"capture" : function () {},
|
||||
"catch" : function () {},
|
||||
"Chance" : function () {},
|
||||
"checkVideoAuthorizationStatus" : function () {},
|
||||
"clear" : function () {},
|
||||
"clearCookies" : function () {},
|
||||
"clearInterval" : function () {},
|
||||
"clearStorageAPIs" : function () {},
|
||||
"clearTimeout" : function () {},
|
||||
"clearWatch" : function () {},
|
||||
"Clipboard" : function () {},
|
||||
"cloneWithRows" : function () {},
|
||||
"close" : function () {},
|
||||
"closeDrawer" : function () {},
|
||||
"codec" : function () {},
|
||||
"completeTransactions" : function () {},
|
||||
"console" : function () {},
|
||||
"contentOffset" : function () {},
|
||||
"contentSize" : function () {},
|
||||
"create" : function () {},
|
||||
"createAccount" : function () {},
|
||||
"data" : function () {},
|
||||
"DataSource" : function () {},
|
||||
"Date" : function () {},
|
||||
"DEBUG" : function () {},
|
||||
"decay" : function () {},
|
||||
"decrypt" : function () {},
|
||||
"default" : function () {},
|
||||
"defaultPath" : function () {},
|
||||
"defaultSeparator" : function () {},
|
||||
"delay" : function () {},
|
||||
"delete" : function () {},
|
||||
"deleteAll" : function () {},
|
||||
"DeviceEventEmitter" : function () {},
|
||||
"digest" : function () {},
|
||||
"Dimensions" : function () {},
|
||||
"discardTransaction" : function () {},
|
||||
"dividedBy" : function () {},
|
||||
"dy" : function () {},
|
||||
"encrypt" : function () {},
|
||||
"ENC_DEC" : function () {},
|
||||
"end" : function () {},
|
||||
"endCoordinates" : function () {},
|
||||
"Error" : function () {},
|
||||
"ErrorUtils" : function () {},
|
||||
"eth" : function () {},
|
||||
"event" : function () {},
|
||||
"fallbacks" : function () {},
|
||||
"fetch" : function () {},
|
||||
"filter" : function () {},
|
||||
"filtered" : function () {},
|
||||
"find" : function () {},
|
||||
"finished" : function () {},
|
||||
"focus" : function () {},
|
||||
"forceUpdate" : function () {},
|
||||
"fromUtf8" : function () {},
|
||||
"fromWei" : function () {},
|
||||
"generate" : function () {},
|
||||
"geoPermissionsGranted" : function () {},
|
||||
"get" : function () {},
|
||||
"getAll" : function () {},
|
||||
"getBlock" : function () {},
|
||||
"getCardId" : function () {},
|
||||
"getCurrentPosition" : function () {},
|
||||
"getExample" : function () {},
|
||||
"getInitialOrientation" : function () {},
|
||||
"getLayout" : function () {},
|
||||
"getNumber" : function () {},
|
||||
"getSyncing" : function () {},
|
||||
"getTime" : function () {},
|
||||
"getTimezoneOffset" : function () {},
|
||||
"goBack" : function () {},
|
||||
"goForward" : function () {},
|
||||
"goog" : function () {},
|
||||
"guid" : function () {},
|
||||
"hash" : function () {},
|
||||
"headers" : function () {},
|
||||
"height" : function () {},
|
||||
"hex" : function () {},
|
||||
"hide" : function () {},
|
||||
"IBGLog" : function () {},
|
||||
"initialPage" : function () {},
|
||||
"initJail" : function () {},
|
||||
"isAddress" : function () {},
|
||||
"isConnected" : function () {},
|
||||
"isMatches" : function () {},
|
||||
"isNaN" : function () {},
|
||||
"Item" : function () {},
|
||||
"JSON" : function () {},
|
||||
"jsonEvent" : function () {},
|
||||
"Keyboard" : function () {},
|
||||
"layout" : function () {},
|
||||
"length" : function () {},
|
||||
"Linking" : function () {},
|
||||
"ListView" : function () {},
|
||||
"locale" : function () {},
|
||||
"lockToPortrait" : function () {},
|
||||
"log" : function () {},
|
||||
"login" : function () {},
|
||||
"map" : function () {},
|
||||
"Math" : function () {},
|
||||
"message" : function () {},
|
||||
"moveFile" : function () {},
|
||||
"moveToInternalStorage" : function () {},
|
||||
"moveY" : function () {},
|
||||
"nativeEvent" : function () {},
|
||||
"NativeModules" : function () {},
|
||||
"Number" : function () {},
|
||||
"objects" : function () {},
|
||||
"ok" : function () {},
|
||||
"openDrawer" : function () {},
|
||||
"openPicker" : function () {},
|
||||
"openURL" : function () {},
|
||||
"OS" : function () {},
|
||||
"p" : function () {},
|
||||
"panHandlers" : function () {},
|
||||
"PanResponder" : function () {},
|
||||
"parallel" : function () {},
|
||||
"parse" : function () {},
|
||||
"parseInt" : function () {},
|
||||
"parseJail" : function () {},
|
||||
"path" : function () {},
|
||||
"PermissionsAndroid" : function () {},
|
||||
"Platform" : function () {},
|
||||
"post" : function () {},
|
||||
"props" : function () {},
|
||||
"prototype" : function () {},
|
||||
"push" : function () {},
|
||||
"random" : function () {},
|
||||
"randomBytes" : function () {},
|
||||
"ReactNative" : function () {},
|
||||
"readFile" : function () {},
|
||||
"readTag" : function () {},
|
||||
"realm" : function () {},
|
||||
"recoverAccount" : function () {},
|
||||
"registerComponent" : function () {},
|
||||
"reload" : function () {},
|
||||
"remove" : function () {},
|
||||
"removeAllListeners" : function () {},
|
||||
"removeEventListener" : function () {},
|
||||
"requestMultiple" : function () {},
|
||||
"require" : function () {},
|
||||
"reset" : function () {},
|
||||
"resetOkHttpClient" : function () {},
|
||||
"respond" : function () {},
|
||||
"reverse" : function () {},
|
||||
"round" : function () {},
|
||||
"schema" : function () {},
|
||||
"schemaVersion" : function () {},
|
||||
"scrollBy" : function () {},
|
||||
"scrollTo" : function () {},
|
||||
"scrollView" : function () {},
|
||||
"selection" : function () {},
|
||||
"sendToBridge" : function () {},
|
||||
"sendWeb3Request" : function () {},
|
||||
"sequence" : function () {},
|
||||
"set" : function () {},
|
||||
"setAccessToken" : function () {},
|
||||
"setGlobalHandler" : function () {},
|
||||
"setInterval" : function () {},
|
||||
"setNativeProps" : function () {},
|
||||
"setSoftInputMode" : function () {},
|
||||
"setState" : function () {},
|
||||
"setString" : function () {},
|
||||
"setTimeout" : function () {},
|
||||
"setValue" : function () {},
|
||||
"Sha256" : function () {},
|
||||
"sha3" : function () {},
|
||||
"Share" : function () {},
|
||||
"share" : function () {},
|
||||
"shh" : function () {},
|
||||
"shouldMoveToInternalStorage" : function () {},
|
||||
"show" : function () {},
|
||||
"showActionSheetWithOptions" : function () {},
|
||||
"sjcl" : function () {},
|
||||
"slice" : function () {},
|
||||
"sorted" : function () {},
|
||||
"SplashScreen" : function () {},
|
||||
"spring" : function () {},
|
||||
"start" : function () {},
|
||||
"startNode" : function () {},
|
||||
"startNodeRPCServer" : function () {},
|
||||
"startsWith" : function () {},
|
||||
"Status" : function () {},
|
||||
"status" : function () {},
|
||||
"stop" : function () {},
|
||||
"stopAnimation" : function () {},
|
||||
"stopNodeRPCServer" : function () {},
|
||||
"stopWatching" : function () {},
|
||||
"stringify" : function () {},
|
||||
"t" : function () {},
|
||||
"Text" : function () {},
|
||||
"text" : function () {},
|
||||
"then" : function () {},
|
||||
"timing" : function () {},
|
||||
"toAscii" : function () {},
|
||||
"toBits" : function () {},
|
||||
"toDecimal" : function () {},
|
||||
"toJSON" : function () {},
|
||||
"toLocaleString" : function () {},
|
||||
"toLowerCase" : function () {},
|
||||
"toNumber" : function () {},
|
||||
"toString" : function () {},
|
||||
"toUtf8" : function () {},
|
||||
"translations" : function () {},
|
||||
"update" : function () {},
|
||||
"Value" : function () {},
|
||||
"value" : function () {},
|
||||
"ValueXY" : function () {},
|
||||
"View" : function () {},
|
||||
"vy" : function () {},
|
||||
"watchPosition" : function () {},
|
||||
"Web3" : function () {},
|
||||
"width" : function () {},
|
||||
"window" : function () {},
|
||||
"write" : function () {},
|
||||
"writeTag" : function () {},
|
||||
"x" : function () {},
|
||||
"y" : function () {},
|
||||
"_bodyText" : function () {},
|
||||
"_value" : function () {}
|
||||
}
|
Loading…
Reference in New Issue