UNPKG

create-expo-cljs-app

Version:

Create a react native application with Expo and Shadow-CLJS!

16 lines (11 loc) 412 B
const Module = require("module"); const globalModuleCache = Module._cache; const internalModuleCache = Object.create(null); Module._cache = internalModuleCache; const node = require("./node"); Module._cache = globalModuleCache; const smsPath = require.resolve("source-map-support"); globalModuleCache[smsPath] = internalModuleCache[smsPath]; const register = node.default; register(); module.exports = node;