@codemoreira/esad 2.0.1-13 → 2.0.1-15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemoreira/esad",
3
- "version": "2.0.1-13",
3
+ "version": "2.0.1-15",
4
4
  "description": "Easy Super App Development - Zero-Config CLI and DevTools for React Native Module Federation",
5
5
  "main": "src/plugin/index.js",
6
6
  "types": "./src/plugin/index.d.ts",
@@ -103,6 +103,8 @@ function withESAD(env, options) {
103
103
  }),
104
104
  new DefinePlugin({
105
105
  'process.env.NODE_ENV': JSON.stringify(isDev ? 'development' : 'production'),
106
+ 'process.env.EXPO_OS': JSON.stringify(platform),
107
+ 'process.env.REPACK_PLATFORM': JSON.stringify(platform),
106
108
  '__DEV__': JSON.stringify(isDev),
107
109
  }),
108
110
  new ExpoModulesPlugin(),