-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Upgrade style-loader to 1.0.0? #2227
Comments
Seems like you're in luck! See #2228 |
Does this mean I should submit a PR for upgrading the style-loader? |
I'm not a maintainer, but yes, I believe a PR would be nice to further discuss this, as we can then see the necessary changes and if they are breaking changes for users of webpack. If it's possible to write a test or have a sample project which shows the error and the fix it would be even better, if possible :) |
Looks like you just need to remove 2 options that are no longer needed according to: https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md#breaking-changes @AlexVPopov I encourage you to open a PR for upgrading style-loader to 1.0.0 |
I have created pull request against this issue. Thanks |
@AlexVPopov i am getting a similar error (v4.0.7) . did you finally get to remove this warning? |
Haven't got the chance to try this yet.
…On Fri, Oct 11, 2019, 2:48 AM Mauricio Giraldo ***@***.***> wrote:
@AlexVPopov <https://github.com/AlexVPopov> i am getting a similar error
(v4.0.7) . did you finally get to remove this warning?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2227?email_source=notifications&email_token=AAYW2VEOVGPGC7RMIUQPESTQN65N5A5CNFSM4IK35TQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA6J4EI#issuecomment-540843537>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYW2VGGDNV46TF2NAV3Z2LQN65N5ANCNFSM4IK35TQQ>
.
|
this warning doesn't show up in production so i'm not going to worry about it for now |
@smondal I pulled latest webpacker code, but still doesn't work following is the error:
I still have no idea where is |
It has been done since this issue! 👍 https://github.com/rails/webpacker/blob/5-x-stable/package.json#L47 |
Hello,
Non-JavaScript person here. On a fresh Rails 6.0.0.rc2 install with webpacker 4.0.7 source maps in Firefox don't work. This is the error, that I get:
I've found several issues both in style-loader's and Firefox' issue trackers:
webpack-contrib/style-loader#303
https://bugzilla.mozilla.org/show_bug.cgi?id=1451274
https://bugzilla.mozilla.org/show_bug.cgi?id=1543896
According to the Changelog for version 1 of style-loader, the problems with the source maps in Firefox have been fixed:
webpack-contrib/style-loader#383
Would a PR for upgrading the style-loader to 1.0.0 be accepted? As I'm not very experienced with webpack and webpacker, I'm not completely sure how hard that would be, however I think a major implication would be, that the minimum version for Node would have to be bumped to
8.9.0
, as the style-loader now requires8.9.0
.The text was updated successfully, but these errors were encountered: