Use relative imports on main

This commit is contained in:
jeffvli 2022-12-20 04:11:27 -08:00
parent e0883e7eb0
commit 6685bfe9d3
2 changed files with 2 additions and 3 deletions

View File

@ -1,8 +1,8 @@
import { ipcMain } from 'electron';
import uniq from 'lodash/uniq';
import MpvAPI from 'node-mpv';
import { store } from '/@/main/features/core/settings';
import { getMainWindow } from '/@/main/main';
import { store } from '../settings';
import { getMainWindow } from '../../../main';
import { PlayerData } from '/@/renderer/store';
declare module 'node-mpv';

View File

@ -5,7 +5,6 @@
"lib": ["dom", "es2021"],
"baseUrl": "./src",
"paths": {
"/main/*": ["./src/main/*"],
"/@/*": ["*"]
},
"declaration": true,