Use Webpack Aliases (#3711)
* Adds aliases to Webpack Build * Use `ui` Webpack alias * Use `views` alias * Use `modals` aliase * Use `providers` aliase * Use `contracts` aliase * Use '~' aliase * from `ui` to from `~/ui` * from to from * from `modals` to from `~/modals` * from `providers` to from `~/redux/providers` * from `contracts` to from `~/contracts` * Updated Webpack App config
This commit is contained in:
committed by
Jaco Greeff
parent
0c7b7fc8bc
commit
52b4ce0dd7
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import Contracts from '../../../contracts';
|
||||
import Contracts from '~/contracts';
|
||||
|
||||
import { loadToken, setTokenPending, deleteToken, setTokenData } from '../Tokens/actions';
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import { api } from './parity';
|
||||
|
||||
import { eip20 as eip20Abi } from '../../contracts/abi';
|
||||
import { eip20 as eip20Abi } from '~/contracts/abi';
|
||||
|
||||
export const getTokenTotalSupply = (tokenAddress) => {
|
||||
return api
|
||||
|
||||
Reference in New Issue
Block a user