build: fix css bundling bug with new esbuild

local testing was being done with an older version of esbuild which
didn't mind @tailwind statements before @imports (it complained, but did
its job). On the latest version used in Docker builds, it would leave
the @import statements intact which broke things like modals.
This commit is contained in:
Harvey Tindall
2022-01-26 14:26:10 +00:00
parent fafb524a47
commit be1d081629
5 changed files with 14 additions and 8 deletions

View File

@@ -1,13 +1,13 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "remixicon.css";
@import "./modal.css";
@import "./dark.css";
@import "./tooltip.css";
@import "./loader.css";
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--border-width-default: 2px;
--border-width-2: 3px;