diff --git a/.changeset/ten-moles-hang.md b/.changeset/ten-moles-hang.md new file mode 100644 index 000000000..b46e3e645 --- /dev/null +++ b/.changeset/ten-moles-hang.md @@ -0,0 +1,5 @@ +--- +"landscape-ui": patch +--- + +Fix CSS ordering inconsistency between dev and production builds diff --git a/eslint.config.mjs b/eslint.config.mjs index db27a6b10..351284cdd 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -12,6 +12,7 @@ export default defineConfig( ignores: [ "dist", "dist-ssr", + "assets", "node_modules", "playwright-report", "playwright", @@ -65,7 +66,7 @@ export default defineConfig( ...globals.jest, }, - ecmaVersion: 5, + ecmaVersion: "latest", parserOptions: { projectService: true, diff --git a/package.json b/package.json index d0fc4fa15..09f17371e 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "dev": "vite --host", "build": "pnpm run lint && pnpm run tcm:run && tsc && vite build", "build:e2e": "pnpm run build --mode e2e", - "lint": "eslint --fix . --ext .ts,.tsx", + "lint": "eslint --fix src e2e", "preview": "vite preview", "test": "pnpm exec playwright test", "test:saas": "VITE_SELF_HOSTED_ENV=false pnpm exec playwright test --project=saas", diff --git a/src/styles/index.scss b/src/styles/index.scss index 64e4369fd..2248e4ad1 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -3,7 +3,10 @@ // Vanilla @import "vanilla-framework"; -@include vanilla; + +@layer vanilla { + @include vanilla; +} // Custom styles @import "partials/base";