-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
265 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
const { createRunOncePlugin } = require('@expo/config-plugins'); | ||
// keeping the name, and version in sync with it's package | ||
const pkg = require('./package.json'); | ||
|
||
const withNothing = (config) => { | ||
return config; | ||
}; | ||
|
||
module.exports = createRunOncePlugin( | ||
// the plugin to guard | ||
withNothing, | ||
// an identifier used to track if the plugin has already been run | ||
pkg.name, | ||
// optional version property | ||
pkg.version | ||
); |
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.