/* eslint-env node */

module.exports = function (api) {
    api.cache(true);

    return {
        plugins: [
            [
                "module-resolver",
                {
                    alias: {
                        "react-native": "../../node_modules/react-native",
                        "react": "../../node_modules/react",
                        "ncore-ui-kit": "../../src"
                    },
                    extensions: [
                        ".js",
                        ".jsx",
                        ".ts",
                        ".tsx",
                        ".json"
                    ]
                }
            ]
        ],
        presets: [
            "babel-preset-expo"
        ]
    };
};
