In Laravel, you have the option to specify which class should be imported if a particular class is accessed. For example, if someone tries to use the Filesystem contract, it will return the Storage Facade (Laravel Contextual Binding). Similarly, if someone attempts to import axios, they would receive a modified version like this:
import axios from 'axios'; // but instead use window.axios