Open nhatdq1810 opened 2 years ago
Thanks for submitting this issue. Can reproduce it. Internal ref: OKTA-478877
Same issue here. Any news about this @denysoblohin-okta ?
@luis-studioG
We took this issue for work in next week.
I did some investigation on this issue.
It can be fixed by replacing node-sass
to sass
. But it has another issues has been already fixed by https://github.com/okta/okta-signin-widget/pull/2157. So looking for another better approach.
Already using sass instead of node-saas. Let's wait for the next weeks to take another approach on this. Thanks!
I am also having this problem
It looks like dart-sass is not able to derive relative path inside of stylesheets using this path 'target/css/okta-sign-in.css'
: https://github.com/okta/okta-signin-widget/blob/ca8d304ed32eb922b17b863135f4fb8f5ce892f4/Gruntfile.js#L242
Converting it to absolute path resolves this issues (paths in source map file become relative)
I got the same issue, copy pasted the dist/ folder in src/ to make it work.
Hi any update on this?
I'm submitting a
Background info
import "@okta/okta-signin-widget/dist/css/okta-sign-in.min.css";
in ReactJS application.react-scripts
5.0.0 coming withwebpack
5.70.0, it compiled with 70 warnings ofFile URL path must be absolute in ./node_modules/@okta/okta-signin-widget/dist/css/okta-sign-in.min.css
Expected behavior
The warning should be fixed
What went wrong?
Steps to reproduce
react-scripts
to 5.0.0react-scripts start
Your environment