ClipSync-Mobile/webpack.config.js
2024-04-02 16:36:04 +02:00

23 lines
511 B
JavaScript

const createExpoWebpackConfigAsync = require('@expo/webpack-config');
module.exports = async function(env, argv) {
const config = await createExpoWebpackConfigAsync(env, argv);
if (config.mode === 'development') {
config.devServer.proxy = {
'/**': {
target: {
host: 'notifysync.simailadjalim.fr',
protocol: 'https:',
port: 443,
},
secure: false,
changeOrigin: true,
logLevel: 'info',
},
};
}
return config;
};