-
Notifications
You must be signed in to change notification settings - Fork 3
Conversation
Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](acornjs/acorn@6.4.0...6.4.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Passing an array with a single entry is not equivalent. This causes Webpack to generate another wrapper module around the entry. This is just unnecessary overhead and bytes.
See facebook#7790 for a previous similar PR.
This reverts commit c03bb36.
Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
- babel-plugin-named-asset-import@0.3.7 - babel-preset-react-app@10.0.0 - confusing-browser-globals@1.0.10 - cra-template-typescript@1.1.0 - cra-template@1.1.0 - create-react-app@4.0.0 - eslint-config-react-app@6.0.0 - react-app-polyfill@2.0.0 - react-dev-utils@11.0.0 - react-error-overlay@6.0.8 - react-scripts@4.0.0
Update: Looks like theres quite a few changes needed to have this change in
|
package.json
Outdated
@@ -31,7 +31,7 @@ | |||
"get-port": "^5.1.1", | |||
"globby": "^11.0.1", | |||
"husky": "^4.3.0", | |||
"jest": "26.6.0", |
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.
Jest 26 breaks storybook 5, so downgrading to jest 25. Updating storybook was way too much to include at once 😅
}, | ||
}, | ||
}), | ||
// START: EVERLONG CHANGES |
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.
I decided to leave the linting out for now, especially since we have the pre-commit linting on league-web
. This linting lints everything and runs on both yarn build
and yarn start
, which is a pain because it takes a really long time. Plus, no linting errors are reported currently when we run yarn build:prod
for reference: yarn build:prod
- took 243s with
react-scripts
v4 - took 374s with our current
react-scripts
@@ -89,7 +89,8 @@ | |||
"webpack": "4.44.2", | |||
"webpack-dev-server": "3.11.0", | |||
"webpack-manifest-plugin": "2.2.0", | |||
"workbox-webpack-plugin": "5.1.4" | |||
"workbox-webpack-plugin": "5.1.4", | |||
"typescript": "3.9.7" |
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.
this is another hack which lets me compile instead of getting this error message:
Failed to load plugin '@typescript-eslint' declared in '.eslintrc » eslint-config-react-app#overrides[0]': Cannot find module 'typescript'
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.
the changes here LGTM – I'm about to test https://github.com/EverlongProject/league-web/pull/4702 now.
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.
Same, nice!
Did anyone else get this error on |
I needed to do |
This worked for me! Although I think it might present a problem as we are forcing people to use |
Update our
react-scripts
version to v4.0.0 🎉league-web
package.json
packages/react-scripts/package.json
packages/react-scripts/config/webpack.config.js
azure-pipelines.yml
Reference to this detailed guide we have 😄 https://everlong.atlassian.net/wiki/spaces/TECH/pages/780567565/League+s+Create+React+App+React+Scripts+fork