Move tailwind.css and don't rebuild it every time
This commit is contained in:
parent
548765e0c2
commit
9a1ee9ba57
3 changed files with 3 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ function npm:build:css {
|
|||
tailwindcss \
|
||||
--config tailwind.config.ts \
|
||||
--input css/tailwind.css \
|
||||
--output ../source/build/tailwind.css "${args[@]}"
|
||||
--output ../source/assets/css/tailwind.css "${args[@]}"
|
||||
}
|
||||
|
||||
function setup {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||
{% if site.features.new_css %}
|
||||
{% else %}
|
||||
<link href="/build/tailwind.css?v={{ site.assets.version }}" rel="stylesheet">
|
||||
<link href="/assets/css/tailwind.css?v={{ site.assets.version }}" rel="stylesheet">
|
||||
{% endif %}
|
||||
<link rel="canonical" href="{{ site.url }}{{ page.url|trim('/', 'right') }}">
|
||||
<meta name="author" content="Oliver Davies">
|
||||
|
|
|
|||
1
sculpin/source/assets/css/tailwind.css
Normal file
1
sculpin/source/assets/css/tailwind.css
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue