Skip to content

Commit

Permalink
add preload
Browse files Browse the repository at this point in the history
  • Loading branch information
spessasus committed Jul 30, 2024
1 parent 2cecccb commit c796994
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
<meta name='keywords' content='midi, soundfont, sf2, synth, synthesizer, soundfont2, midi player, midi player online, player, sf3, soundfont player, soundfont player online' />

<title>SpessaSynth SoundFont MIDI Player Online</title>
<link rel="stylesheet" href='src/website/minified/style.min.css '>
<link rel="preload" as='style' href='src/website/minified/style.min.css'>
<link rel='modulepreload' href='src/website/minified/demo_main.min.js'>

<link rel='stylesheet' href='src/website/minified/style.min.css'>
<link rel='icon' type='image/png' href='src/website/favicon.ico'>
<link rel='manifest' href='src/website/manifest.json'>
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/bash
cd "$(dirname "$0")"
esbuild worklet_processor.js --bundle --minify --format=esm --outfile=../worklet_processor.min.js --platform=browser
echo "Processor minifed succesfully"
3 changes: 3 additions & 0 deletions src/website/local_edition_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
<meta name='author' content='spessasus' />
<meta name='keywords' content='midi, soundfont, sf2, synth, synthesizer, soundfont2, midi player, midi player online, player, sf3, soundfont player, soundfont player online' />


<title>SpessaSynth Local Edition</title>
<link rel="preload" as='style' href='website/minified/style.min.css'>
<link rel='modulepreload' href='website/minified/local_main.min.js'>
<link rel="stylesheet" href='website/minified/style.min.css'>
<link rel='icon' href='website/favicon.ico'>
</head>
Expand Down

0 comments on commit c796994

Please sign in to comment.