mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
improve components and disable millionlint by default for dev
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -63,7 +63,7 @@
|
|||||||
"react-toastify": "^10.0.5",
|
"react-toastify": "^10.0.5",
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"sortablejs": "^1.15.2",
|
"sortablejs": "^1.15.2",
|
||||||
"swiper": "^11.1.0",
|
"swiper": "latest",
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
"ts-loader": "^9.5.1",
|
"ts-loader": "^9.5.1",
|
||||||
"typescript": "^5.3.3",
|
"typescript": "^5.3.3",
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ const Store = () => {
|
|||||||
pauseOnMouseEnter: true
|
pauseOnMouseEnter: true
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{ coverThemes.map((theme, index) => (
|
{ [...coverThemes, ...coverThemes].map((theme, index) => (
|
||||||
<SwiperSlide className='relative cursor-pointer rounded-xl overflow-clip' onClick={() => setDisplayTheme(theme)} key={index}>
|
<SwiperSlide className='relative cursor-pointer rounded-xl overflow-clip' onClick={() => setDisplayTheme(theme)} key={index}>
|
||||||
<img
|
<img
|
||||||
src={theme.marqueeImage}
|
src={theme.marqueeImage}
|
||||||
|
|||||||
+3
-9
@@ -1,4 +1,4 @@
|
|||||||
import MillionLint from '@million/lint';
|
//import MillionLint from '@million/lint';
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
import { crx } from '@crxjs/vite-plugin';
|
import { crx } from '@crxjs/vite-plugin';
|
||||||
import million from "million/compiler";
|
import million from "million/compiler";
|
||||||
@@ -8,18 +8,12 @@ import { join } from 'path';
|
|||||||
|
|
||||||
const plugins = [
|
const plugins = [
|
||||||
react(),
|
react(),
|
||||||
million.vite({
|
million.vite({ auto: true }),
|
||||||
auto: {
|
//MillionLint.vite(), /* enable for testing and debugging performance */
|
||||||
threshold: 0.005,
|
|
||||||
// default: 0.1,
|
|
||||||
skip: [] // default []
|
|
||||||
}
|
|
||||||
}),
|
|
||||||
crx({
|
crx({
|
||||||
manifest
|
manifest
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
plugins.unshift(MillionLint.vite())
|
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: plugins,
|
plugins: plugins,
|
||||||
|
|||||||
Reference in New Issue
Block a user