mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-20 06:28:14 -04:00
Performance to the moon (#1946)
* to the moon * ignore searchbar * fix --------- Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
This commit is contained in:
@@ -14,6 +14,7 @@ import { explorerStore } from '../Explorer/store';
|
||||
import { useTopBarContext } from './Layout';
|
||||
import { NavigationButtons } from './NavigationButtons';
|
||||
|
||||
// million-ignore
|
||||
const TopBar = () => {
|
||||
const transparentBg = useShowControls().transparentBg;
|
||||
const isDragSelecting = useSelector(explorerStore, (s) => s.isDragSelecting);
|
||||
|
||||
@@ -30,5 +30,8 @@
|
||||
"vite-plugin-inspect": "^0.8.1",
|
||||
"vite-plugin-solid": "^2.8.0",
|
||||
"vite-plugin-svgr": "^3.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"million": "^2.6.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import react from '@vitejs/plugin-react-swc';
|
||||
import million from 'million/compiler';
|
||||
import { defineConfig } from 'vite';
|
||||
import { createHtmlPlugin } from 'vite-plugin-html';
|
||||
import i18nextLoader from 'vite-plugin-i18next-loader';
|
||||
@@ -12,6 +13,7 @@ const url = new URL('../../../interface/locales', import.meta.url);
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
million.vite({ auto: true }),
|
||||
tsconfigPaths(),
|
||||
i18nextLoader({
|
||||
paths: [fileURLToPath(url.href)],
|
||||
|
||||
BIN
pnpm-lock.yaml
generated
BIN
pnpm-lock.yaml
generated
Binary file not shown.
Reference in New Issue
Block a user