File tree Expand file tree Collapse file tree 3 files changed +19
-9
lines changed
Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,17 @@ const config = {
9494 outfile : 'dist/bundle.js' ,
9595 bundle : true ,
9696 define : {
97- NODE_ENV
97+ NODE_ENV ,
98+ // Define process.env variables for browser environment
99+ 'process.env.MapboxAccessToken' : JSON . stringify ( process . env . MapboxAccessToken || '' ) ,
100+ 'process.env.DropboxClientId' : JSON . stringify ( process . env . DropboxClientId || '' ) ,
101+ 'process.env.MapboxExportToken' : JSON . stringify ( process . env . MapboxExportToken || '' ) ,
102+ 'process.env.CartoClientId' : JSON . stringify ( process . env . CartoClientId || '' ) ,
103+ 'process.env.FoursquareClientId' : JSON . stringify ( process . env . FoursquareClientId || '' ) ,
104+ 'process.env.FoursquareDomain' : JSON . stringify ( process . env . FoursquareDomain || '' ) ,
105+ 'process.env.FoursquareAPIURL' : JSON . stringify ( process . env . FoursquareAPIURL || '' ) ,
106+ 'process.env.FoursquareUserMapsURL' : JSON . stringify ( process . env . FoursquareUserMapsURL || '' ) ,
107+ 'process.env.NODE_ENV' : NODE_ENV
98108 } ,
99109 plugins : [
100110 dotenvRun ( {
Original file line number Diff line number Diff line change 109109 "react-sortable-hoc" : " ^1.8.3" ,
110110 "react-time-picker" : " ^6.2.0" ,
111111 "react-tooltip" : " ^4.2.17" ,
112- "react-virtualized" : " ^ 9.22.5 " ,
112+ "react-virtualized" : " 9.22.6 " ,
113113 "react-vis" : " 1.11.7" ,
114114 "redux" : " ^4.2.1" ,
115115 "reselect" : " ^4.1.0" ,
Original file line number Diff line number Diff line change @@ -4993,7 +4993,7 @@ __metadata:
49934993 react-sortable-hoc: "npm:^1.8.3"
49944994 react-time-picker: "npm:^6.2.0"
49954995 react-tooltip: "npm:^4.2.17"
4996- react-virtualized: "npm:^ 9.22.5 "
4996+ react-virtualized: "npm:9.22.6 "
49974997 react-vis: "npm:1.11.7"
49984998 redux: "npm:^4.2.1"
49994999 reselect: "npm:^4.1.0"
@@ -26418,9 +26418,9 @@ __metadata:
2641826418 languageName: node
2641926419 linkType: hard
2642026420
26421- "react-virtualized@npm:^ 9.22.5 ":
26422- version: 9.22.5
26423- resolution: "react-virtualized@npm:9.22.5 "
26421+ "react-virtualized@npm:9.22.6 ":
26422+ version: 9.22.6
26423+ resolution: "react-virtualized@npm:9.22.6 "
2642426424 dependencies:
2642526425 "@babel/runtime": "npm:^7.7.2"
2642626426 clsx: "npm:^1.0.4"
@@ -26429,9 +26429,9 @@ __metadata:
2642926429 prop-types: "npm:^15.7.2"
2643026430 react-lifecycles-compat: "npm:^3.0.4"
2643126431 peerDependencies:
26432- react: ^15 .3.0 || ^16 .0.0-alpha || ^17 .0.0 || ^18 .0.0
26433- react-dom: ^15 .3.0 || ^16 .0.0-alpha || ^17 .0.0 || ^18 .0.0
26434- checksum: 10c0/b0444b472f317dce61119c07426c5e9ebfe5125d049996678da922717715a1aa83df755aa36877f4b1718aa2e181d22f15ebb807ee356418c56f922f865628c1
26432+ react: ^16 .3.0 || ^17 .0.0 || ^18 .0.0 || ^19 .0.0
26433+ react-dom: ^16 .3.0 || ^17 .0.0 || ^18 .0.0 || ^19 .0.0
26434+ checksum: 10c0/0c4fbe86e0c121adcdb7a3f322601eee4661afe65e31ef767c6d876016b1e7043fdad7998b4fa0252eaf73ffb6c14effcf0f729d154cd15304a8b15ad42b7b06
2643526435 languageName: node
2643626436 linkType: hard
2643726437
You can’t perform that action at this time.
0 commit comments