[Help] Compatibility IE + Firefox old versions problems #451
Description
Is this a bug report?
Yes, I think so, or maybe I did something wrong but I'm stuck with Webpack config...
Can you also reproduce the problem with npm 4.x?
Yes
Environment
npm ls react-scripts-ts
(if you haven’t ejected):node -v
: 8.11.3npm -v
: 6.3.0yarn --version
(if you use Yarn):npm ls react-scripts-ts
(if you haven’t ejected):
Then, specify:
- Operating system: Windows 10
- Browser and version (if relevant): Firefox 45 and IE11 (Working on Chrome)
Steps to Reproduce
(Write your steps here:)
- npm install
- npm start
- Visit localhost:3333 on firefox 45 or IE11
Expected Behavior
It should display home page
Actual Behavior
Display a blank page, with a TypeError like this
Note: I cannot even click on the link because my computer freezes when trying to open the link, but I did it once, and the error seemed related with arrow functions, so maybe I need one more transpiler or something ?
Note
This is an ejected project
Comment
I think I a missing a simple thing but I tried so many things and until now nothing has worked.
Here is the interesting lines from package.json
and webpack.config.dev
:
package.json
Versions
"babel-loader": "^7.1.2",
"babel-preset-react-app": "^3.1.1",
"ts-loader": "^2.3.7",
"webpack": "3.8.1",
"webpack-dev-server": "2.9.4",
"typescript": "2.9.2"
Babel presets
"babel": {
"presets": [
"react-app"
]
}
Here is a pastebin from webpack.config.dev : Click here
I really hope someone have time to help me, I am running out of ideas...
Also, the project is pretty big, so I don't feel so confident of migrating to create-react-app v2.