Code cleanup
This commit is contained in:
parent
3b5baa5bfc
commit
98365018fb
@ -23,7 +23,7 @@
|
||||
<link rel="stylesheet" href="/css/prism-okaidia.css">
|
||||
<link rel="stylesheet" href="/css/prism-diff.css">
|
||||
|
||||
2. Inlined (speediest in production)
|
||||
2. Inlined (fastest site performance in production)
|
||||
#}
|
||||
<style>
|
||||
{% include "public/css/index.css" %}
|
||||
@ -32,9 +32,10 @@
|
||||
{% include "public/css/prism-diff.css" %}
|
||||
</style>
|
||||
{#
|
||||
3. Concatenate CSS to one file (slower than 2 but faster than 1):
|
||||
3. You could even swap between the two methods above using {% if eleventy.env.runMode === "serve" %}
|
||||
4. Concatenate CSS to one file (site performance is slower than 2 but faster than 1):
|
||||
https://www.11ty.dev/docs/quicktips/concatenate/
|
||||
4. Use a bundler
|
||||
5. Use a bundler
|
||||
e.g. Vite https://www.11ty.dev/docs/server-vite/
|
||||
Or search for additional community plugins for esbuild, rollup, webpack, etc.
|
||||
#}
|
||||
|
Loading…
Reference in New Issue
Block a user