Skip to content

Commit 0b14045

Browse files
committed
Added seo handling
1 parent c72d034 commit 0b14045

3 files changed

Lines changed: 16 additions & 3 deletions

File tree

.env.sample

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Add your env variables here
2+
DEPLOYMENT_ENV="staging"

app/library/icon/icons/types.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// This file is generated by icon spritesheet generator
22

3-
export const iconNames = ["ShoppingCart"] as const
3+
export const iconNames = [
4+
"ShoppingCart",
5+
] as const
46

5-
export type IconName = (typeof iconNames)[number]
7+
export type IconName = typeof iconNames[number]

vite.config.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,16 @@ export default defineConfig({
1111
exclude: [/^\/(resources)\/.+/],
1212
}),
1313
remixDevTools(),
14-
remix(),
14+
remix({
15+
future: {
16+
unstable_optimizeDeps: true,
17+
unstable_singleFetch: true,
18+
v3_fetcherPersist: true,
19+
v3_relativeSplatPath: true,
20+
v3_throwAbortReason: true
21+
}
22+
}
23+
),
1524
tsconfigPaths(),
1625
iconsSpritesheet({
1726
inputDir: "./resources/icons",

0 commit comments

Comments
 (0)