diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-31 02:53:18 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-31 02:56:53 +0100 |
commit | 8fafe2011857a836cf1d8dd9530930d1d6205cf6 (patch) | |
tree | aee64862cc8f61cedcc0c18a40a39948fc3ebcdc /packages/main/src | |
parent | chore: Add import extensions preparing for ts 4.6 nodenext (diff) | |
download | sophie-8fafe2011857a836cf1d8dd9530930d1d6205cf6.tar.gz sophie-8fafe2011857a836cf1d8dd9530930d1d6205cf6.tar.zst sophie-8fafe2011857a836cf1d8dd9530930d1d6205cf6.zip |
build: Use nodenext module resolution
The renderer package still has to use node module resolution to be able
to find MUI packages.
Diffstat (limited to 'packages/main/src')
-rw-r--r-- | packages/main/src/controllers/config.ts | 2 | ||||
-rw-r--r-- | packages/main/src/services/impl/ConfigPersistenceServiceImpl.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/main/src/controllers/config.ts b/packages/main/src/controllers/config.ts index ec23e8f..971f151 100644 --- a/packages/main/src/controllers/config.ts +++ b/packages/main/src/controllers/config.ts | |||
@@ -18,7 +18,7 @@ | |||
18 | * SPDX-License-Identifier: AGPL-3.0-only | 18 | * SPDX-License-Identifier: AGPL-3.0-only |
19 | */ | 19 | */ |
20 | 20 | ||
21 | import debounce from 'lodash-es/debounce'; | 21 | import { debounce } from 'lodash-es'; |
22 | import ms from 'ms'; | 22 | import ms from 'ms'; |
23 | import { applySnapshot, getSnapshot, onSnapshot } from 'mobx-state-tree'; | 23 | import { applySnapshot, getSnapshot, onSnapshot } from 'mobx-state-tree'; |
24 | 24 | ||
diff --git a/packages/main/src/services/impl/ConfigPersistenceServiceImpl.ts b/packages/main/src/services/impl/ConfigPersistenceServiceImpl.ts index 22b7d65..65a51ba 100644 --- a/packages/main/src/services/impl/ConfigPersistenceServiceImpl.ts +++ b/packages/main/src/services/impl/ConfigPersistenceServiceImpl.ts | |||
@@ -21,7 +21,7 @@ | |||
21 | import { watch } from 'fs'; | 21 | import { watch } from 'fs'; |
22 | import { readFile, stat, writeFile } from 'fs/promises'; | 22 | import { readFile, stat, writeFile } from 'fs/promises'; |
23 | import JSON5 from 'json5'; | 23 | import JSON5 from 'json5'; |
24 | import throttle from 'lodash-es/throttle'; | 24 | import { throttle} from 'lodash-es'; |
25 | import { join } from 'path'; | 25 | import { join } from 'path'; |
26 | 26 | ||
27 | import type { ConfigPersistenceService, ReadConfigResult } from '../ConfigPersistenceService.js'; | 27 | import type { ConfigPersistenceService, ReadConfigResult } from '../ConfigPersistenceService.js'; |