build: remove obsolete WASM path fix and tracked index.html
This commit is contained in:
parent
a282d1dd29
commit
73fd3c30e2
3
Makefile
3
Makefile
@ -5,9 +5,6 @@ build:
|
|||||||
@$(MAKE) highlight-css
|
@$(MAKE) highlight-css
|
||||||
@tailwindcss -i input.css -o public/style.css --minify
|
@tailwindcss -i input.css -o public/style.css --minify
|
||||||
@dx build --release --wasm-split
|
@dx build --release --wasm-split
|
||||||
@echo "Fixing WASM paths for production..."
|
|
||||||
@python3 scripts/fix-wasm-paths.py
|
|
||||||
@echo "WASM paths fixed."
|
|
||||||
|
|
||||||
highlight-css:
|
highlight-css:
|
||||||
@cargo run --bin generate_highlight_css
|
@cargo run --bin generate_highlight_css
|
||||||
|
|||||||
@ -1,14 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="/style.css">
|
|
||||||
<link rel="stylesheet" href="/highlight.css">
|
|
||||||
<title>Yggdrasil Blog</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="main"></div>
|
|
||||||
<script type="module" async src="/./wasm/yggdrasil.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Loading…
x
Reference in New Issue
Block a user