@fto-consult/expo-ui 6.18.2 → 6.18.3
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 +1 -1
- package/webpack.config.js +5 -5
package/package.json
CHANGED
package/webpack.config.js
CHANGED
|
@@ -79,11 +79,11 @@ module.exports = async function(env, argv,opts) {
|
|
|
79
79
|
//writeFile(path.resolve(__dirname,"is-electron-platform.txt"),` ${JSON.stringify(extensions)} is extensions to resolve`)
|
|
80
80
|
}
|
|
81
81
|
//fix process is not defined
|
|
82
|
-
config.plugins.unshift(new webpack.ProvidePlugin({
|
|
82
|
+
/*config.plugins.unshift(new webpack.ProvidePlugin({
|
|
83
83
|
process: 'process/browser',
|
|
84
|
-
}))
|
|
85
|
-
config.resolve.alias.process = "process/browser";
|
|
86
|
-
config.resolve.fallback = typeof config.resolve.fallback =="object" && config.resolve.fallback || {};
|
|
87
|
-
config.resolve.fallback = {...config.resolve.fallback,process: require.resolve('process/browser')};
|
|
84
|
+
}));*/
|
|
85
|
+
//config.resolve.alias.process = "process/browser";
|
|
86
|
+
//config.resolve.fallback = typeof config.resolve.fallback =="object" && config.resolve.fallback || {};
|
|
87
|
+
//config.resolve.fallback = {...config.resolve.fallback,process: require.resolve('process/browser')};
|
|
88
88
|
return config;
|
|
89
89
|
};;
|