diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index 635ccc1..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,24 +0,0 @@ -const createExpoWebpackConfigAsync = require('@expo/webpack-config') - -// Expo CLI will await this method so you can optionally return a promise. -module.exports = async function (env, argv) { - const config = await createExpoWebpackConfigAsync( - { ...env, offline: true }, - argv, - ) - // If you want to add a new alias to the config. - // config.resolve.alias["moduleA"] = "moduleB" - - // Maybe you want to turn off compression in dev mode. - if (config.mode === 'development') { - config.devServer.compress = false - } - - // Or prevent minimizing the bundle when you build. - // if (config.mode === "production") { - // config.optimization.minimize = false - // } - - // Finally return the new config for the CLI to use. - return config -} |