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 { ipcMain } from 'electron';
|
||||||
import uniq from 'lodash/uniq';
|
import uniq from 'lodash/uniq';
|
||||||
import MpvAPI from 'node-mpv';
|
import MpvAPI from 'node-mpv';
|
||||||
import { store } from '/@/main/features/core/settings';
|
import { store } from '../settings';
|
||||||
import { getMainWindow } from '/@/main/main';
|
import { getMainWindow } from '../../../main';
|
||||||
import { PlayerData } from '/@/renderer/store';
|
import { PlayerData } from '/@/renderer/store';
|
||||||
|
|
||||||
declare module 'node-mpv';
|
declare module 'node-mpv';
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
"lib": ["dom", "es2021"],
|
"lib": ["dom", "es2021"],
|
||||||
"baseUrl": "./src",
|
"baseUrl": "./src",
|
||||||
"paths": {
|
"paths": {
|
||||||
"/main/*": ["./src/main/*"],
|
|
||||||
"/@/*": ["*"]
|
"/@/*": ["*"]
|
||||||
},
|
},
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|
Reference in a new issue