summaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorKirill Rogovoy <[email protected]>2021-07-19 20:06:08 +0300
committerKirill Rogovoy <[email protected]>2021-07-19 20:06:08 +0300
commitf0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 (patch)
tree575c0ff2cbb846252bd2e494c81c396846aab2f6 /webpack.config.js
parent67ad38d0a7cd319623e9f41c0c381ed5c5f6f973 (diff)
Apply Prettier
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 52cb4b4..635ccc1 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,13 +1,16 @@
-const createExpoWebpackConfigAsync = require("@expo/webpack-config")
+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)
+ 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") {
+ if (config.mode === 'development') {
config.devServer.compress = false
}