fbConfig.js:18 Uncaught TypeError: firebase_app__WEBPACK_IMPORTED_MODULE_0___default.a.firebase is not a function code example
Example: firebase.database is not a function
<script src="https://www.gstatic.com/firebasejs/3.1.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.1.0/firebase-database.js"></script>