-
-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Description
Describe the bug
Im working on typescript 4.x in react 16.x without any issues.
I decide to install typescript eslint with the new projects eslint-typescript + typescript-parser
The actual 3.4.3 react-script has a known bug with theses 2 projects because the version is 2.0.1 which are also bug with the rules: no-use-before-define 🎉
To solve this I update react to the nightly 99 which solved the issue with no-use-before-define but I have now a new bug.
the behavior of sass-loader seems change on background-image: url('/img/logo.jpg'). the Url function dont work anymore 🤔
I dont expect any quick fix. Its eslint, I just remove it, rollback deps and now its working like before.
Environment
System:
OS: Windows 10 10.0.19041
CPU: (4) x64 Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
Binaries:
Node: 12.18.2 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.14.5 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.19041.423.0
Internet Explorer: 11.0.19041.1
npmPackages:
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-scripts: 3.4.3 => 3.4.3
npmGlobalPackages:
create-react-app: Not Found
Expected behavior
url function in sass should work as before.
Actual behavior
url function in sass seems to use relative path from the actual dev scss file not from the run env