Add process/browser to webpack
This stopped the login screen from displaying when running the ui
from npm start
* limitations under the License.
*/
+const webpack = require('webpack')
const path = require('path');
module.exports = {
@@ -31,5 +32,10 @@ module.exports = {
fallback: {
"assert": false
}
- }
+ },
+ plugins: [
+ new webpack.ProvidePlugin({
+ process: 'process/browser',
+ }),
+ ]
};
