Fix: adds support for development mode in Safari
Updates gas-client to latest version
This commit is contained in:
Generated
+6
-6
@@ -7211,17 +7211,17 @@
|
||||
"dev": true
|
||||
},
|
||||
"gas-client": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://registry.npmjs.org/gas-client/-/gas-client-0.1.0.tgz",
|
||||
"integrity": "sha512-loAmZ7TBK+O+XzH0eWM3pHEyJiHdJNtZ/KygTM3Kuz9k+akREpRrHwZ3ZZWPvRDboPH8DReVairtMZT2jgkWdA==",
|
||||
"version": "0.2.1",
|
||||
"resolved": "https://registry.npmjs.org/gas-client/-/gas-client-0.2.1.tgz",
|
||||
"integrity": "sha512-cOTSGtPc3L3/BKwyDvDKqvY2jYO/VB1MRbjEoUrbi/CRRYoROPFQyzxBhaYUE0mokXjXGyy8Ykix5yjiSpoRng==",
|
||||
"requires": {
|
||||
"uuid": "^8.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"uuid": {
|
||||
"version": "8.2.0",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.2.0.tgz",
|
||||
"integrity": "sha512-CYpGiFTUrmI6OBMkAdjSDM0k5h8SkkiTP4WAjQgDgNB1S3Ou9VBEvr6q0Kv2H1mMk7IWfxYGpMH5sd5AvcIV2Q=="
|
||||
"version": "8.3.2",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
|
||||
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"gas-client": "^0.1.0",
|
||||
"gas-client": "^0.2.1",
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "^17.0.2",
|
||||
"react-bootstrap": "^1.3.0",
|
||||
|
||||
@@ -315,6 +315,7 @@ const serverConfig = {
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
// replace any env variables in client-side code like PORT and NODE_ENV with actual values
|
||||
'process.env': JSON.stringify(envVars),
|
||||
'process.env.NODE_ENV': JSON.stringify(
|
||||
isProd ? 'production' : 'development'
|
||||
|
||||
Reference in New Issue
Block a user