Skip to content

Commit 5b3e53f

Browse files
committed
fix: remove index.html from vite config
1 parent 6746aaf commit 5b3e53f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

update.mjs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const docker = [
108108

109109
// frameworks and their specific files
110110
const frameworks = {
111-
'vite.config.*': ['index.html'],
111+
'vite.config.*': [],
112112
'vue.config.*': [],
113113
'nuxt.config.*': [],
114114
'next.config.*': ['next-env.d.ts'],
@@ -215,25 +215,25 @@ const dotnetProject = [
215215
]
216216

217217
const pubspecYAML = [
218-
'.metadata',
218+
'.metadata',
219219
'.packages',
220220
'all_lint_rules.yaml',
221-
'analysis_options.yaml',
222-
'build.yaml',
221+
'analysis_options.yaml',
222+
'build.yaml',
223223
'pubspec.lock',
224224
]
225225

226226
const elixir = [
227-
"mix.lock",
228-
".formatter.exs",
229-
".credo.exs",
230-
".dialyzer_ignore.exs",
227+
'mix.lock',
228+
'.formatter.exs',
229+
'.credo.exs',
230+
'.dialyzer_ignore.exs',
231231
]
232232

233233
const phoenixLiveView = [
234-
"$(capture).html.eex",
235-
"$(capture).html.leex",
236-
"$(capture).html.heex",
234+
'$(capture).html.eex',
235+
'$(capture).html.leex',
236+
'$(capture).html.heex',
237237
]
238238

239239
const base = {
@@ -283,8 +283,8 @@ const full = {
283283
'composer.json': stringify(composer),
284284
'*.csproj': stringify(dotnetProject),
285285
'*.vbproj': stringify(dotnetProject),
286-
"mix.exs": stringify(elixir),
287-
"*.ex": stringify(phoenixLiveView),
286+
'mix.exs': stringify(elixir),
287+
'*.ex': stringify(phoenixLiveView),
288288
...Object.fromEntries(Object.entries(frameworks).map(([n, i]) => [n, stringify([...i, ...libraries])])),
289289
}
290290

0 commit comments

Comments
 (0)