Skip to content

Commit 76932d3

Browse files
authored
Update Next config in SSR docs (#4379)
* update next config in SSR docs * remove color
1 parent eaa7239 commit 76932d3

File tree

1 file changed

+5
-3
lines changed
  • packages/dev/docs/pages/react-spectrum

1 file changed

+5
-3
lines changed

packages/dev/docs/pages/react-spectrum/ssr.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ module.exports = {
6161
transpilePackages: [
6262
"@adobe/react-spectrum",
6363
"@react-spectrum/actiongroup",
64+
"@react-spectrum/avatar",
6465
"@react-spectrum/badge",
6566
"@react-spectrum/breadcrumbs",
6667
"@react-spectrum/button",
6768
"@react-spectrum/buttongroup",
6869
"@react-spectrum/calendar",
6970
"@react-spectrum/checkbox",
70-
"@react-spectrum/color",
7171
"@react-spectrum/combobox",
7272
"@react-spectrum/contextualhelp",
7373
"@react-spectrum/datepicker",
@@ -108,7 +108,7 @@ module.exports = {
108108
"@react-spectrum/well",
109109
"@spectrum-icons/illustrations",
110110
"@spectrum-icons/ui",
111-
"@spectrum-icons/workflow",
111+
"@spectrum-icons/workflow"
112112
]
113113
};
114114
```
@@ -128,8 +128,9 @@ With this installed, add the following to your `next.config.js` file.
128128
const withTM = require("next-transpile-modules")([
129129
"@adobe/react-spectrum",
130130
"@react-spectrum/actiongroup",
131-
"@react-spectrum/breadcrumbs",
131+
"@react-spectrum/avatar",
132132
"@react-spectrum/badge",
133+
"@react-spectrum/breadcrumbs",
133134
"@react-spectrum/button",
134135
"@react-spectrum/buttongroup",
135136
"@react-spectrum/calendar",
@@ -139,6 +140,7 @@ const withTM = require("next-transpile-modules")([
139140
"@react-spectrum/datepicker",
140141
"@react-spectrum/dialog",
141142
"@react-spectrum/divider",
143+
"@react-spectrum/dnd",
142144
"@react-spectrum/form",
143145
"@react-spectrum/icon",
144146
"@react-spectrum/illustratedmessage",

0 commit comments

Comments
 (0)