Skip to content

Commit

Permalink
chore: create webpack.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoniii20 authored Jun 26, 2024
1 parent 62b58f6 commit 94e1373
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const createExpoWebpackConfigAsync = require('@expo/webpack-config');

module.exports = async function(env, argv) {
const config = await createExpoWebpackConfigAsync(env, argv);

// Node.js 폴리필 설정
config.resolve.fallback = {
crypto: require.resolve('crypto-browserify'),
};

return config;
};

0 comments on commit 94e1373

Please sign in to comment.