/* eslint-env node */

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

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