Skip to content

Commit 2425a2e

Browse files
committed
Add autoprefixer dependency
1 parent 7cea67a commit 2425a2e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.mjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ await spinner('replace favicon', async () => {
4242
await spinner('add tailwindcss, iconify and fontsource', async () => {
4343
await patchPackage(
4444
'+tailwindcss',
45+
'+autoprefixer',
4546
'+@tailwindcss/typography',
4647
'+@fontsource-variable/inter',
4748
'+@iconify/tailwind',
@@ -95,7 +96,7 @@ import '../app.pcss'
9596
)
9697
await patchFiles(p('src', 'routes', '+page.svelte'), [
9798
`</h1>`,
98-
`</h1>\n<span class="iconify mdi--heart text-red-600 animate-pulse" />\n`
99+
`</h1>\n<span class="iconify mdi--heart text-xl text-red-600 animate-pulse" />\n`
99100
])
100101
await patchFiles(
101102
p('svelte.config.js'),
@@ -123,7 +124,7 @@ await spinner('patch prettier', async () => {
123124
await spinner('patch eslint', async () => {
124125
await patchFiles(p('eslint.config.js'), [
125126
`languageOptions`,
126-
`rules: { 'no-tabs': 'error', 'no-unexpected-multiline': 'error' }, languageOptions`
127+
`rules:{'no-tabs':'error','no-unexpected-multiline':'error'}, languageOptions`
127128
])
128129
})
129130

@@ -140,7 +141,7 @@ await spinner('add versioning', async () => {
140141
`static';`,
141142
`static';\nimport { readFileSync } from 'node:fs'\n\nconst { version: name } = JSON.parse(readFileSync(new URL('package.json', import.meta.url), 'utf8'))\n`
142143
],
143-
[`adapter()`, `adapter(),version:{name}`]
144+
[`adapter()`, `adapter(), version:{name}`]
144145
)
145146
})
146147

0 commit comments

Comments
 (0)