I am using angular v5. I want to do something like
import { OwnedSetABI } from
`../constant/${environment.envName}/OwnedSetContractABI`;
I have OwnedSetContractABI file in different folder and want to use then according to environment. for example for dev env the path of OwnedSetABI would be '../constant/dev/OwnedSetContractABI', for production env the path of OwnedSetABI would be '../constant/production/OwnedSetContractABI'. But ES6 not allowd to use variable in import syntax. How I can achieve this scenario?