UNPKG

@config-plugins/tv

Version:

Config plugin to reconfigure native directories for TV development if needed

15 lines (14 loc) 733 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const config_plugins_1 = require("expo/config-plugins"); const withTVPodfile_1 = require("./withTVPodfile"); const withTVSplashScreen_1 = require("./withTVSplashScreen"); const withTVXcodeProject_1 = require("./withTVXcodeProject"); const withTVPlugin = (config, params = {}) => { config = (0, withTVXcodeProject_1.withTVXcodeProject)(config, params); config = (0, withTVPodfile_1.withTVPodfile)(config, params); config = (0, withTVSplashScreen_1.withTVSplashScreen)(config, params); return config; }; const pkg = require("../package.json"); exports.default = (0, config_plugins_1.createRunOncePlugin)(withTVPlugin, pkg.name, pkg.version);