Skip to content

Commit a2fc4c2

Browse files
authored
chore: add plugin folder (#190)
1 parent 55ad3b1 commit a2fc4c2

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"author": "pchalupa <chalupa.petr93@gmail.com> (https://github.com/pchalupa)",
1010
"license": "MIT",
1111
"homepage": "https://github.com/pchalupa/expo-network-security-config#readme.md",
12-
"main": "index.js",
12+
"main": "plugin/index.js",
1313
"keywords": [
1414
"react-native",
1515
"expo",
1616
"expo-network-security-config"
1717
],
1818
"files": [
19-
"index.js"
19+
"plugin/index.js"
2020
],
2121
"scripts": {
2222
"lint": "eslint",

index.js renamed to plugin/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const { join } = require('path');
1010
* @returns {import('@expo/config-types').ExpoConfig} config
1111
*/
1212
module.exports = function withExpoNetworkSecurityConfig(config, { enable, networkSecurityConfig }) {
13-
// Early return switch
1413
if (!enable) return config;
1514

1615
const { getMainApplicationOrThrow } = AndroidConfig.Manifest;

0 commit comments

Comments
 (0)