diff options
Diffstat (limited to 'src/webview')
-rw-r--r-- | src/webview/darkmode.ts | 2 | ||||
-rw-r--r-- | src/webview/recipe.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/webview/darkmode.ts b/src/webview/darkmode.ts index f5e8700e0..88d39f19f 100644 --- a/src/webview/darkmode.ts +++ b/src/webview/darkmode.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { join } from 'path'; | 1 | import { join } from 'node:path'; |
2 | import { pathExistsSync, readFileSync } from 'fs-extra'; | 2 | import { pathExistsSync, readFileSync } from 'fs-extra'; |
3 | 3 | ||
4 | const debug = require('../preload-safe-debug')('Ferdium:DarkMode'); | 4 | const debug = require('../preload-safe-debug')('Ferdium:DarkMode'); |
diff --git a/src/webview/recipe.ts b/src/webview/recipe.ts index 76615d234..ee7fa26d2 100644 --- a/src/webview/recipe.ts +++ b/src/webview/recipe.ts | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | import { noop, debounce } from 'lodash'; | 4 | import { noop, debounce } from 'lodash'; |
5 | import { contextBridge, ipcRenderer } from 'electron'; | 5 | import { contextBridge, ipcRenderer } from 'electron'; |
6 | import { join } from 'path'; | 6 | import { join } from 'node:path'; |
7 | import { autorun, computed, makeObservable, observable } from 'mobx'; | 7 | import { autorun, computed, makeObservable, observable } from 'mobx'; |
8 | import { pathExistsSync, readFileSync } from 'fs-extra'; | 8 | import { pathExistsSync, readFileSync } from 'fs-extra'; |
9 | import { | 9 | import { |
@@ -11,7 +11,7 @@ import { | |||
11 | enable as enableDarkMode, | 11 | enable as enableDarkMode, |
12 | } from 'darkreader'; | 12 | } from 'darkreader'; |
13 | 13 | ||
14 | import { existsSync } from 'fs'; | 14 | import { existsSync } from 'node:fs'; |
15 | import ignoreList from './darkmode/ignore'; | 15 | import ignoreList from './darkmode/ignore'; |
16 | import customDarkModeCss from './darkmode/custom'; | 16 | import customDarkModeCss from './darkmode/custom'; |
17 | 17 | ||