chore(web): revert wasm new justify layout (#16277)

* Revert "fix(web): justify layout import (#16267) "

This reverts commit ec58e1065f.

* Revert "fix(web): dynamically import wasm module (#16261)"

This reverts commit 4376fd72b7.

* Revert "feat(web): use wasm for justified layout calculation (#15524)"

This reverts commit 3925445de8.

* Revert "fix(web): viewport reactivity, off-screen thumbhashes being rendered (#15435)"

This reverts commit 52f21fb331.
This commit is contained in:
Alex 2025-02-25 09:39:56 -06:00 committed by GitHub
parent 16266c9f5a
commit bbcaee82f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 201 additions and 330 deletions

View file

@ -4,7 +4,6 @@ import { svelteTesting } from '@testing-library/svelte/vite';
import path from 'node:path';
import { visualizer } from 'rollup-plugin-visualizer';
import { defineConfig } from 'vite';
import wasm from 'vite-plugin-wasm';
const upstream = {
target: process.env.IMMICH_SERVER_URL || 'http://immich-server:2283/',
@ -15,9 +14,6 @@ const upstream = {
};
export default defineConfig({
build: {
target: 'es2022',
},
resolve: {
alias: {
'xmlhttprequest-ssl': './node_modules/engine.io-client/lib/xmlhttprequest.js',
@ -45,7 +41,6 @@ export default defineConfig({
: undefined,
enhancedImages(),
svelteTesting(),
wasm(),
],
optimizeDeps: {
entries: ['src/**/*.{svelte,ts,html}'],
@ -58,9 +53,5 @@ export default defineConfig({
sequence: {
hooks: 'list',
},
deps: {
// workaround for https://github.com/vitest-dev/vitest/issues/2150
inline: ['@immich/justified-layout-wasm'],
},
},
});