Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
fix(expo): cant launch expo cli
Browse files Browse the repository at this point in the history
  • Loading branch information
floriaaan committed Aug 6, 2023
1 parent 1a20a41 commit 04266c8
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions apps/mobile/metro.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
// Learn more https://docs.expo.io/guides/customizing-metro
const { getDefaultConfig } = require("expo/metro-config");
const { fileURLToPath } = require("url"); // the node package 'url'

function dirname(meta) {
return fileURLToPath(meta.url);
}

// call with import.meta
const __dirname = dirname(import.meta);


/** @type {import('expo/metro-config').MetroConfig} */
// eslint-disable-next-line no-undef
const config = getDefaultConfig(__dirname, {
// [Web-only]: Enables CSS support in Metro.
isCSSEnabled: true,
Expand Down

0 comments on commit 04266c8

Please sign in to comment.