Use relative imports on main
This commit is contained in:
parent
e0883e7eb0
commit
6685bfe9d3
2 changed files with 2 additions and 3 deletions
|
@ -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';
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
"lib": ["dom", "es2021"],
|
||||
"baseUrl": "./src",
|
||||
"paths": {
|
||||
"/main/*": ["./src/main/*"],
|
||||
"/@/*": ["*"]
|
||||
},
|
||||
"declaration": true,
|
||||
|
|
Reference in a new issue