Skip to content

Commit

Permalink
chore(deps): v0.3.2 (useServerInsertedHTML)
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Jul 10, 2024
1 parent e02a7b8 commit ea9f1f1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
},
"dependencies": {
"@heroicons/react": "2.1.3",
"@hiogawa/react-server": "0.3.1",
"@hiogawa/react-server": "0.3.2",
"clsx": "2.1.1",
"date-fns": "3.6.0",
"dinero.js": "2.0.0-alpha.10",
"ms": "3.0.0-canary.1",
"next": "npm:@hiogawa/react-server-next@0.0.8",
"next": "npm:@hiogawa/react-server-next@0.0.9",
"react": "rc",
"react-dom": "rc",
"react-server-dom-webpack": "rc",
Expand Down
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ import next from 'next/vite';
import { defineConfig } from 'vite';

export default defineConfig({
plugins: [next()],
plugins: [
next({
// ssg is opt-in for now
prerender: (_, presets) => presets.generateStaticParams(),
}),
],
ssr: {
// https://github.com/styled-components/styled-components/issues/4268
// https://github.com/styled-components/styled-components/issues/4275
noExternal: ["styled-components"]
}
noExternal: ['styled-components'],
},
});

0 comments on commit ea9f1f1

Please sign in to comment.