mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Update vite
This commit is contained in:
1839
package-lock.json
generated
1839
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -41,7 +41,7 @@
|
||||
"vscode-languageserver-textdocument": "^1.0.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@preact/preset-vite": "^2.4.0",
|
||||
"@preact/preset-vite": "^2.10.0",
|
||||
"@rollup/plugin-html": "^1.0.1",
|
||||
"@types/diff": "^5.2.2",
|
||||
"@types/google.analytics": "0.0.40",
|
||||
@@ -62,7 +62,7 @@
|
||||
"rollup-plugin-visualizer": "^5.6.0",
|
||||
"tailwindcss": "^3.3.3",
|
||||
"typescript": "^4.7.3",
|
||||
"vite": "^3.2.11",
|
||||
"vite-plugin-static-copy": "^0.12.0"
|
||||
"vite": "^6.0.11",
|
||||
"vite-plugin-static-copy": "^2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -207,7 +207,7 @@ const Decorators: {
|
||||
},
|
||||
count_extra: (config, pos, ctx) => {
|
||||
let count = config?.count ?? 1
|
||||
if (ctx.nextFloat() < config.extra_chance ?? 0){
|
||||
if (ctx.nextFloat() < (config.extra_chance ?? 0)){
|
||||
count += config.extra_count ?? 0
|
||||
}
|
||||
return new Array(count).fill(pos)
|
||||
|
||||
Reference in New Issue
Block a user