Skip to content

Commit

Permalink
feat(expo): support cjs and mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhe554 committed Jan 30, 2024
1 parent bb3cf3a commit 2e2673b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const customConfig = {
},
resolver: {
assetExts: assetExts.filter((ext) => ext !== 'svg'),
sourceExts: [...sourceExts, 'svg'],
sourceExts: [...sourceExts, 'cjs', 'mjs', 'svg'],
blockList: exclusionList([/^(?!.*node_modules).*\\/dist\\/.*/]),
unstable_enableSymlinks: true,
unstable_enablePackageExports: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const customConfig = {
},
resolver: {
assetExts: assetExts.filter((ext) => ext !== 'svg'),
sourceExts: [...sourceExts, 'svg'],
sourceExts: [...sourceExts, 'cjs', 'mjs', 'svg'],
blockList: exclusionList([/^(?!.*node_modules).*\\/dist\\/.*/]),
unstable_enableSymlinks: true,
unstable_enablePackageExports: true,
Expand Down

0 comments on commit 2e2673b

Please sign in to comment.