Open ewpreston opened 2 years ago
In translate.ts is this line of code:
const sku = process?.env?.REACT_APP_SKU ?? 'edu';
and I'm trying to upgrade to webpack 5 locally (we have a copy of this code since we had to customize it for Blackboard).
process is a Node variable, so how does this work in a React app that runs in the browser?
In translate.ts is this line of code:
const sku = process?.env?.REACT_APP_SKU ?? 'edu';
and I'm trying to upgrade to webpack 5 locally (we have a copy of this code since we had to customize it for Blackboard).
process is a Node variable, so how does this work in a React app that runs in the browser?