Skip to content

Commit

Permalink
Various improvmements
Browse files Browse the repository at this point in the history
* Updated @exact-realty/lot to 0.0.27
* Better CSS minification
* Updated dependencies
* Updated README.md compatibility table
  • Loading branch information
corrideat committed Jun 29, 2024
1 parent a245fb1 commit 46bb5b8
Show file tree
Hide file tree
Showing 5 changed files with 995 additions and 201 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ security updates.
- NetSurf: ❌ Not supported
- Opera: ✅️ 60–
- Pale Moon: ❌ Not supported [yet](https://repo.palemoon.org/MoonchildProductions/UXP/issues/2534)
- Safari: ✅️ 14
- Safari: ✅️ 15

## ⚡ Performance

Expand Down
11 changes: 9 additions & 2 deletions esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,19 @@
import cc from '@exact-realty/esbuild-plugin-closure-compiler';
import inlineScripts from '@exact-realty/esbuild-plugin-inline-js';
import autoprefixer from 'autoprefixer';
import cssnano from 'cssnano';
import esbuild from 'esbuild';
import sveltePlugin from 'esbuild-svelte';
import childProcess from 'node:child_process';
import { randomUUID, webcrypto } from 'node:crypto';
import fs from 'node:fs/promises';
import { join } from 'node:path';
import vm from 'node:vm';
import postcssCssVariables from 'postcss-css-variables';
import sveltePreprocess from 'svelte-preprocess';
import tailwindcss from 'tailwindcss';
import packageJson from './package.json' with { type: 'json' };
import tailwindConfig from './tailwind.config.mjs';
import childProcess from 'node:child_process';

const gitCommitHash = (() => {
try {
Expand Down Expand Up @@ -224,7 +226,12 @@ const exactRealtyBuilderPlugin = (
preprocess: sveltePreprocess({
typescript: {},
postcss: {
plugins: [tailwindcss(tailwindConfig), autoprefixer()],
plugins: [
tailwindcss(tailwindConfig),
postcssCssVariables(),
autoprefixer(),
cssnano({ preset: 'default' }),
],
},
}),
compilerOptions: {
Expand Down
Loading

0 comments on commit 46bb5b8

Please sign in to comment.