Run tailwindcss before dx build in flake
This commit is contained in:
@@ -110,6 +110,9 @@
|
|||||||
] ++ build-pkgs;
|
] ++ build-pkgs;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
# dx build will run tailwindcss anyways, but doing it first here is faster and clearer if it fails
|
||||||
|
tailwindcss --input style/tailwind.css --output assets/tailwind.css
|
||||||
|
|
||||||
dx build --release --frozen --web
|
dx build --release --frozen --web
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user