Skip to content

Commit 04ee52e

Browse files
committed
fix(entry): prepare entry for vite and webpack
1 parent 5632c68 commit 04ee52e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1819
-525
lines changed

.browserslistrc

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
defaults
22
not IE 11
3-
maintained node versions

.eslintrc.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
},
88
"extends": [
99
"@nuxtjs",
10-
"@nuxtjs/eslint-config-typescript",
1110
"plugin:security/recommended",
1211
"plugin:sonarjs/recommended",
1312
"plugin:no-unsanitized/DOM"
@@ -40,6 +39,7 @@
4039
}
4140
],
4241
"sonarjs/no-duplicate-string": 0,
43-
"vue/multi-word-component-names": "off"
42+
"vue/multi-word-component-names": "off",
43+
"@typescript-eslint/no-unused-vars": "off"
4444
}
4545
}

.vscode/launch.json

+97-13
Original file line numberDiff line numberDiff line change
@@ -4,51 +4,135 @@
44
{
55
"type": "node",
66
"request": "launch",
7-
"name": "Debug (generate)",
8-
"runtimeVersion": "16.19.0",
7+
"name": "Express-Server (dist)",
8+
"runtimeVersion": "16.14.2",
9+
"program": "${workspaceFolder}/tools/express-server",
10+
"outputCapture": "std",
11+
"args": [
12+
"--dist",
13+
"dist/nuxt-custom-elements"
14+
]
15+
},
16+
{
17+
"type": "node",
18+
"request": "launch",
19+
"name": "Express-Server (build/dist)",
20+
"runtimeVersion": "16.14.2",
21+
"program": "${workspaceFolder}/tools/express-server",
22+
"outputCapture": "std",
23+
"args": [
24+
"--dist",
25+
"playground/.nuxt/nuxt-custom-elements/dist"
26+
]
27+
},
28+
{
29+
"type": "node",
30+
"request": "launch",
31+
"name": "Debug (nuxi:generate)",
32+
"runtimeVersion": "19.5.0",
33+
"runtimeArgs": [
34+
"--inspect"
35+
],
36+
"program": "${workspaceFolder}/node_modules/.bin/nuxi",
37+
"outputCapture": "std",
38+
"args": [
39+
"generate",
40+
"playground",
41+
"--target",
42+
"static"
43+
]
44+
},
45+
{
46+
"type": "node",
47+
"request": "launch",
48+
"name": "Debug (nuxi:build)",
49+
"runtimeVersion": "19.5.0",
50+
"runtimeArgs": [
51+
"--inspect"
52+
],
53+
"program": "${workspaceFolder}/node_modules/.bin/nuxi",
54+
"outputCapture": "std",
55+
"args": [
56+
"build",
57+
"playground"
58+
]
59+
},
60+
{
61+
"type": "node",
62+
"request": "launch",
63+
"name": "Debug (nuxi:dev)",
64+
"runtimeVersion": "19.5.0",
65+
"runtimeArgs": [
66+
"--inspect"
67+
],
68+
"program": "${workspaceFolder}/node_modules/.bin/nuxi",
69+
"outputCapture": "std",
70+
"args": [
71+
"dev",
72+
"playground"
73+
]
74+
},
75+
{
76+
"type": "node",
77+
"request": "launch",
78+
"name": "Debug (nuxt:generate)",
79+
"runtimeVersion": "19.5.0",
980
"runtimeArgs": [
1081
"--inspect"
1182
],
1283
"program": "${workspaceFolder}/node_modules/.bin/nuxt",
1384
"outputCapture": "std",
1485
"args": [
1586
"generate",
16-
"--config-file",
17-
"playground/nuxt.config.js",
87+
"playground",
1888
"--target",
1989
"static"
2090
]
2191
},
2292
{
2393
"type": "node",
2494
"request": "launch",
25-
"name": "Debug (build)",
26-
"runtimeVersion": "16.19.0",
95+
"name": "Debug (nuxt:build)",
96+
"runtimeVersion": "19.5.0",
2797
"runtimeArgs": [
2898
"--inspect"
2999
],
30100
"program": "${workspaceFolder}/node_modules/.bin/nuxt",
31101
"outputCapture": "std",
32102
"args": [
33103
"build",
34-
"--config-file",
35-
"playground/nuxt.config.js"
104+
"playground"
36105
]
37106
},
38107
{
39108
"type": "node",
40109
"request": "launch",
41-
"name": "Debug (nuxt)",
42-
"runtimeVersion": "16.19.0",
110+
"name": "Debug (nuxt:dev)",
111+
"runtimeVersion": "19.5.0",
43112
"runtimeArgs": [
44113
"--inspect"
45114
],
46115
"program": "${workspaceFolder}/node_modules/.bin/nuxt",
47116
"outputCapture": "std",
48117
"args": [
49-
"--config-file",
50-
"playground/nuxt.config.js"
118+
"dev",
119+
"playground"
51120
]
52-
}
121+
},
122+
{
123+
"type": "node",
124+
"request": "launch",
125+
"name": "Debug (nuxi:prepare)",
126+
"runtimeVersion": "19.5.0",
127+
"runtimeArgs": [
128+
"--inspect"
129+
],
130+
"program": "${workspaceFolder}/node_modules/.bin/nuxt",
131+
"outputCapture": "std",
132+
"args": [
133+
"prepare",
134+
"playground"
135+
]
136+
},
53137
]
54138
}

jsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"baseUrl": ".",
1010
"paths": {
1111
"nuxt-speedkit/*": [
12-
"src/runtime/*"
12+
"src/*"
1313
],
1414
"#speedkit": [
1515
"src/runtime/*"

0 commit comments

Comments
 (0)