mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
17 lines
373 B
JavaScript
17 lines
373 B
JavaScript
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
const path = require('path');
|
|
|
|
/**
|
|
* @param {string[]} pathFragment
|
|
* @returns {string}
|
|
*/
|
|
const rootResolve = (...pathFragment) => path.resolve(__dirname, ...pathFragment);
|
|
|
|
const webpackAlias = {
|
|
'@': rootResolve('src'),
|
|
'@services': rootResolve('src/services'),
|
|
};
|
|
|
|
module.exports = {
|
|
webpackAlias,
|
|
};
|