mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix: failed to load fonts
This commit is contained in:
16
gulpfile.js
16
gulpfile.js
@@ -132,8 +132,20 @@ const common = {
|
||||
'node_modules/@logseq/sqlite-wasm/sqlite-wasm/jswasm/sqlite3.wasm',
|
||||
]).pipe(gulp.dest(path.join(outputPath, 'mobile', 'js'))),
|
||||
() => gulp.src([
|
||||
'packages/ui/dist/silkhq/*',
|
||||
]).pipe(gulp.dest(path.join(outputPath, 'mobile'))),
|
||||
'packages/ui/dist/silkhq/*.css*',
|
||||
]).pipe(gulp.dest(path.join(outputPath, 'mobile', 'css'))),
|
||||
() => gulp.src([
|
||||
'packages/ui/dist/silkhq/*.js*',
|
||||
]).pipe(gulp.dest(path.join(outputPath, 'mobile', 'js'))),
|
||||
() => gulp.src([
|
||||
'node_modules/inter-ui/inter.css',
|
||||
]).pipe(gulp.dest(path.join(outputPath, 'mobile', 'css'))),
|
||||
() => gulp.src('node_modules/inter-ui/Inter (web)/*.*').
|
||||
pipe(gulp.dest(path.join(outputPath, 'mobile', 'css', 'Inter (web)'))),
|
||||
() => gulp.src([
|
||||
'node_modules/@tabler/icons-webfont/fonts/**',
|
||||
'node_modules/katex/dist/fonts/*.woff2',
|
||||
]).pipe(gulp.dest(path.join(outputPath, 'mobile', 'css', 'fonts'))),
|
||||
)(...params)
|
||||
},
|
||||
|
||||
|
||||
@@ -71,8 +71,8 @@
|
||||
"cljs:watch": "clojure -M:cljs watch app electron",
|
||||
"cljs:storybook-watch": "clojure -M:cljs watch stories-dev",
|
||||
"gulp:mobile-watch": "gulp watchMobile",
|
||||
"css:mobile-build": "postcss tailwind.mobile.css -o static/mobile/style.css --verbose --env production",
|
||||
"css:mobile-watch": "cross-env TAILWIND_MODE=watch postcss tailwind.mobile.css -o static/mobile/style.css --verbose --watch",
|
||||
"css:mobile-build": "postcss tailwind.mobile.css -o static/mobile/css/style.css --verbose --env production",
|
||||
"css:mobile-watch": "cross-env TAILWIND_MODE=watch postcss tailwind.mobile.css -o static/mobile/css/style.css --verbose --watch",
|
||||
"cljs:mobile-watch": "clojure -M:cljs watch mobile",
|
||||
"cljs:release-mobile": "clojure -M:cljs release mobile",
|
||||
"cljs:dev-watch": "clojure -M:cljs watch app electron mobile",
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
|
||||
<link href="./silkhq.css" rel="stylesheet" type="text/css">
|
||||
<link href="./style.css" rel="stylesheet" type="text/css">
|
||||
<link href="./css/silkhq.css" rel="stylesheet" type="text/css">
|
||||
<link href="./css/style.css" rel="stylesheet" type="text/css">
|
||||
<title>Logseq: A privacy-first platform for knowledge management and collaboration</title>
|
||||
</head>
|
||||
<body>
|
||||
@@ -35,7 +35,7 @@ const portal = new MagicPortal(worker);
|
||||
<script defer src="./js/tabler.ext.js"></script>
|
||||
<script defer src="./js/ui.js"></script>
|
||||
<script defer src="./js/amplify.js"></script>
|
||||
<script defer src="./silkhq.js"></script>
|
||||
<script defer src="./js/silkhq.js"></script>
|
||||
<script defer src="./js/shared.js"></script>
|
||||
<script defer src="./js/main.js"></script>
|
||||
<script defer src="./js/code-editor.js"></script>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user