I am exploring ways to create a multi-user JS web application. I was hoping I could import the files as follows.
import Thing from './thing'
I want to configure the webpack / babel / tool to search for a tenant specific file first, i.e. thing.tenant.jsand then go back to thing.js.
A similar approach to the specific platform code in native-native, with the exception of the tenant, will be delivered as part of the assembly and ultimately with its own package bundle.tenant.js.
Does anyone know how to do this?
source
share