-
Notifications
You must be signed in to change notification settings - Fork 32
BRS 8 - Full SSR Hard Source and Loadable support #85
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
Conversation
The travis build is expected to fail here as the app paths have been changed in the config.js to support SSR at a particular run which for non SSR consumers modifying these paths would mean that they don't get generated properly so would need to look at the impact on that when people use BRS and serve their website |
Diff looks perfect @olliecurtis, nice spot with the CSS |
c6892c8
to
9ab25eb
Compare
const appName = require(paths.appPackageJson).name; | ||
const useYarn = fs.existsSync(paths.yarnLockFile); | ||
|
||
const compiler = createCompiler(webpack, config, appName, undefined, useYarn); |
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.
Turns out the params of this function have changed to accept an object of these parameters so will update with the correct expected format for this
See here for example: https://github.com/Skyscanner/backpack-react-scripts/blob/9ab25eb68904847805d4a5681ab7e6a8620f0845/packages/react-scripts/scripts/start.js#L115
50e36ad
to
93ba2ab
Compare
cadd3b2
to
e8169e3
Compare
2defef8
to
1904fcb
Compare
e8169e3
to
9f75d1e
Compare
6ffad9e
to
af12611
Compare
4670103
to
588bc2b
Compare
222896f
to
a9e5e80
Compare
3342ce3
to
2497e97
Compare
1244339
to
dad0045
Compare
40a7d29
to
db95f43
Compare
0bd6040
to
73cfa32
Compare
640ad0d
to
2f44efd
Compare
2f44efd
to
d088ad5
Compare
As BRS 9 is the current supported version and BRS 10 is on the way closing this PR for now |
For more context see #77 .
This PR is to align #77 to BRS v8 for testing before further exploration of configurability for our consumers.