Skip to content

Commit 7d21b19

Browse files
authored
feat: added *.razor support (#198)
1 parent fa52ca6 commit 7d21b19

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

update.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,12 @@ const denoRuntime = [
372372
...env,
373373
]
374374

375+
const razor = [
376+
'$(capture).razor.css',
377+
'$(capture).razor.scss',
378+
'$(capture).razor.cs'
379+
]
380+
375381
const base = {
376382
'.gitignore': '.gitattributes, .gitmodules, .gitmessage, .mailmap, .git-blame*',
377383
'*.css': '$(capture).css.map, $(capture).*.css',
@@ -485,6 +491,7 @@ const full = sortObject({
485491
'*.ex': stringify(phoenixLiveView),
486492
'*.tex': stringify(tex),
487493
'deno.json*': stringify(denoRuntime),
494+
'*.razor': stringify(razor),
488495
...Object.fromEntries(Object.entries(frameworks).map(([n, i]) => [n, stringify([...i, ...libraries])])),
489496
...svelteKitRouting,
490497
})

0 commit comments

Comments
 (0)