You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-wallet/webpack/constants.js

20 lines
602 B

/* @flow */
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'),
6 years ago
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;