"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const webpack_merge_1 = __importDefault(require("webpack-merge"));
const useOwn_1 = __importDefault(require("../../scripts/useOwn"));
/**
 * Patch React Native imports
 * @param config
 * @param builder
 */
const ReactNative = () => (config) => {
    return webpack_merge_1.default(config, {
        resolve: {
            alias: {
                'react-native$': useOwn_1.default('react-native-web'),
            },
        },
    });
};
exports.default = ReactNative;
//# sourceMappingURL=ReactNative.js.map