mirror of
https://github.com/usememos/memos.git
synced 2024-12-26 07:01:17 +08:00
fix: initial gomark wasm
This commit is contained in:
parent
e3afad74ce
commit
e78311b3af
5 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
|||
"sourceType": "module"
|
||||
},
|
||||
"plugins": ["react", "@typescript-eslint", "prettier"],
|
||||
"ignorePatterns": ["node_modules", "dist", "public"],
|
||||
"ignorePatterns": ["node_modules", "dist", "public", "src/wasm"],
|
||||
"rules": {
|
||||
"prettier/prettier": [
|
||||
"error",
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
document.documentElement.classList.add("dark");
|
||||
}
|
||||
</script>
|
||||
<script src="wasm_exec.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
|
|
@ -5,13 +5,14 @@ import { Provider } from "react-redux";
|
|||
import { RouterProvider } from "react-router-dom";
|
||||
import "./css/global.css";
|
||||
import "./css/tailwind.css";
|
||||
import wasmUrl from "./gomark.wasm?url";
|
||||
import "./helpers/polyfill";
|
||||
import "./i18n";
|
||||
import "./less/highlight.less";
|
||||
import router from "./router";
|
||||
import store from "./store";
|
||||
import theme from "./theme";
|
||||
import wasmUrl from "./wasm/gomark.wasm?url";
|
||||
import "./wasm/wasm_exec.js";
|
||||
|
||||
(async () => {
|
||||
const go = new window.Go();
|
||||
|
|
Loading…
Reference in a new issue