mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-14 14:49:08 +00:00
Update prettier and reformat source code
This commit is contained in:
@@ -11,7 +11,10 @@ const getDirectories = (source) =>
|
||||
|
||||
const packagesDir = path.join(__dirname, '../packages/');
|
||||
const exportsDir = path.join(packagesDir, 'react-native-web/src/exports');
|
||||
const moduleMapOutfile = path.join(packagesDir, 'babel-plugin-react-native-web/src/moduleMap.js');
|
||||
const moduleMapOutfile = path.join(
|
||||
packagesDir,
|
||||
'babel-plugin-react-native-web/src/moduleMap.js'
|
||||
);
|
||||
|
||||
const moduleMap = getDirectories(exportsDir).reduce((acc, curr) => {
|
||||
acc[curr] = true;
|
||||
|
||||
Reference in New Issue
Block a user