mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-06 23:39:38 +01:00
- use ts-loader instead of babel-loader - remove nodejs build - remove custom obscure module-worker-loader - use commonjs syntax in webpack configs
13 lines
348 B
JavaScript
13 lines
348 B
JavaScript
const path = require('path');
|
|
|
|
const ABSOLUTE_BASE = path.normalize(path.join(__dirname, '..'));
|
|
|
|
const constants = Object.freeze({
|
|
BUILD: path.join(ABSOLUTE_BASE, 'build/'),
|
|
SRC: path.join(ABSOLUTE_BASE, 'src/'),
|
|
PORT: 8089,
|
|
INDEX: path.join(ABSOLUTE_BASE, 'src/index.html'),
|
|
});
|
|
|
|
module.exports = { ...constants, ABSOLUTE_BASE };
|