Skip to content

Commit

Permalink
update template/solid
Browse files Browse the repository at this point in the history
`extensions: ['.jsx']` is needed for a workaround for `?MINISSG-COPY`.
We hope that vite-plugin-solid would be consious of query fragments.
  • Loading branch information
uenoB committed Jul 20, 2024
1 parent 7c9f6f9 commit c8e1b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/solid/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default defineConfig({
render: {
'**/*.jsx': ssgSolid()
},
plugins: () => [solid({ ssr: true })]
plugins: () => [solid({ ssr: true, extensions: ['.jsx'] })]
})
]
})

0 comments on commit c8e1b2f

Please sign in to comment.