Skip to content

Commit a518d89

Browse files
committed
Prepare knip config for production mode
1 parent 29531c9 commit a518d89

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

knip.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,33 @@
33
"workspaces": {
44
".": {
55
"entry": [
6-
"app/app.vue",
7-
"app/error.vue",
8-
"app/pages/**/*.vue",
9-
"app/components/**/*.vue",
10-
"app/composables/**/*.ts",
11-
"app/middleware/**/*.ts",
12-
"app/plugins/**/*.ts",
13-
"app/utils/**/*.ts",
14-
"server/**/*.ts",
15-
"modules/**/*.ts",
16-
"config/**/*.ts",
6+
"app/app.vue!",
7+
"app/error.vue!",
8+
"app/pages/**/*.vue!",
9+
"app/components/**/*.vue!",
10+
"app/composables/**/*.ts!",
11+
"app/middleware/**/*.ts!",
12+
"app/plugins/**/*.ts!",
13+
"app/utils/**/*.ts!",
14+
"server/**/*.ts!",
15+
"modules/**/*.ts!",
16+
"config/**/*.ts!",
17+
"lunaria/**/*.ts!",
18+
"shared/**/*.ts!",
1719
"i18n/**/*.ts",
1820
"lunaria.config.ts",
1921
"pwa-assets.config.ts",
2022
".lighthouserc.cjs",
2123
"lighthouse-setup.cjs",
2224
"uno-preset-rtl.ts",
23-
"scripts/**/*.ts",
24-
"lunaria/**/*.ts",
25-
"shared/**/*.ts"
25+
"scripts/**/*.ts"
2626
],
2727
"project": ["**/*.{ts,vue,cjs,mjs}"],
2828
"ignoreDependencies": [
2929
"@iconify-json/*",
3030
"@vercel/kv",
3131
"@voidzero-dev/vite-plus-core",
32+
"vite-plus!",
3233
"h3",
3334
"puppeteer",
3435
"unplugin-vue-router",
@@ -38,11 +39,11 @@
3839
"ignoreUnresolved": ["#components", "#oauth/config"]
3940
},
4041
"cli": {
41-
"project": ["src/**/*.ts"]
42+
"project": ["src/**/*.ts!"]
4243
},
4344
"docs": {
4445
"entry": ["app/**/*.{ts,vue}"],
45-
"ignoreDependencies": ["docus", "better-sqlite3"]
46+
"ignoreDependencies": ["docus", "better-sqlite3", "nuxt!"]
4647
}
4748
}
4849
}

0 commit comments

Comments
 (0)