Files
trezor-suite/packages/blockchain-link/webpack/constants.js
Szymon Lesisz eac6227d88 refactor(blockchain-link): webpack without babel
- use ts-loader instead of babel-loader
- remove nodejs build
- remove custom obscure module-worker-loader
- use commonjs syntax in webpack configs
2022-01-19 11:29:12 +01:00

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 };