evgeniy123,
в доках написано, что можно так
<script>
var require = {
baseUrl: "assets/js/modules",
paths: {
constants: "constants",
firebase: "firebase/firebase-app",
firebase_auth: "firebase/firebase-auth",
firebase_database: "firebase/firebase-database",
databaseModule: "databaseModule",
user_entity: "entities/user",
order_entity: "entities/order"
},
callback: function(constants) {
//console.log(constants.url);
//console.log("eeee");
}
};
</script>
<script data-main="assets/js/page_js/basket.js" src="assets/js/require.js"></script>
https://github.com/requirejs/require...he-main-module
Проверьте...