mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-02 04:01:43 +02:00
core: fix build error
This commit is contained in:
@@ -116,7 +116,8 @@ async function preprocessHTML(templateData: TemplateData) {
|
||||
function hasRequire() {
|
||||
return (
|
||||
typeof require === "function" &&
|
||||
// eslint-disable-next-line no-undef
|
||||
// eslint-disable-next-line no-undef, @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
(typeof IS_DESKTOP_APP === "undefined" || !IS_DESKTOP_APP)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user