-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add webpack ignore patch to dynamic config plugins import (#33)
* fix: add webpack ignore patch to dynamic config plugins import * refactor: upgrade to webpack 5 and enable magic comments * chore: add run production launch script for testing purposes * chore: remove unused webpack import in config
- Loading branch information
Showing
5 changed files
with
535 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js b/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js | ||
index 424ede4..06df7cb 100644 | ||
--- a/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js | ||
+++ b/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js | ||
@@ -148,7 +148,7 @@ function resolveConfigPluginExport({ plugin, pluginFile, pluginReference, isPlug | ||
exports.resolveConfigPluginExport = resolveConfigPluginExport; | ||
function requirePluginFile(filePath) { | ||
try { | ||
- return require(filePath); | ||
+ return require(/* webpackIgnore: true */ filePath); | ||
} | ||
catch (error) { | ||
// TODO: Improve error messages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.