1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-15 12:59:09 +00:00
trezor-wallet/webpack/constants.js

21 lines
615 B
JavaScript
Raw Normal View History

2018-05-18 17:59:23 +00:00
/* @flow */
'use strict';
import path from 'path';
export const ABSOLUTE_BASE: string = path.normalize(path.join(__dirname, '..'));
const constants: Object = Object.freeze({
BUILD: path.join(ABSOLUTE_BASE, 'build/'),
SRC: path.join(ABSOLUTE_BASE, 'src/'),
PORT: 8081,
INDEX: path.join(ABSOLUTE_BASE, 'src/index.html'),
TREZOR_CONNECT_ROOT: path.join(ABSOLUTE_BASE, '../trezor.js2/')
});
export const BUILD: string = constants.BUILD;
export const SRC: string = constants.SRC;
export const PORT: string = constants.PORT;
export const INDEX: string = constants.INDEX;
export default constants;