'Firebase notification supports webpack from what version?

Im using "webpack": "^4.16.1"

when i create a create-react-app the Firebase notification works fine but when i install like that on webpack4 it shows the following error, this is the err:

enter image description here

and i used the isSupported() method to check and it returns false!

Can anyone help me to solve this problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source