-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue #3434] React USWDS, React, Next.JS upgrade #3515
Changes from all commits
a237107
204d271
d85290b
9d35919
b588b6e
27faff5
3ec1806
470ce26
a560166
7b498e1
074896f
89ea552
f856969
f74e6d3
278d8d5
053efbe
2d268d4
11f11b9
c9bd320
75afac5
f9d6e51
59502ca
c802a92
2574e3e
f5fe517
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,11 +27,7 @@ function blockSearchEnginesInHead(head) { | |
*/ | ||
const config = { | ||
stories: ["../stories/**/*.@(mdx|stories.@(js|jsx|ts|tsx))"], | ||
addons: [ | ||
"@storybook/addon-essentials", | ||
"@storybook/addon-designs", | ||
"@chromatic-com/storybook", | ||
], | ||
addons: ["@storybook/addon-essentials", "@chromatic-com/storybook"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Temp remove There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sounds good - are we actively using this in any case, or can we just remove it for good? Since there's not even an issue to add React 19 support I wouldn't be too confident that it'll come any time soon There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In practice it is "removed for good" as it is removed from npm and there is no config left. |
||
|
||
framework: { | ||
name: "@storybook/nextjs", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. | ||
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was autogen |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,9 +84,7 @@ const nextConfig = { | |
// https://nextjs.org/docs/app/api-reference/next-config-js/output | ||
output: "standalone", | ||
sassOptions: appSassOptions, | ||
experimental: { | ||
serverComponentsExternalPackages: ["newrelic"], | ||
}, | ||
serverExternalPackages: ["newrelic"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
webpack: (config) => { | ||
nrExternals(config); | ||
return config; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initially added for a fix, but leaving as we don't need attachments.