Andrey (azangru) wrote,

Reminder to future self if he wants to bulk rename a bunch of scss files to .module.scss (because CSS modules), and then update the references to those files in the typescript files importing them — this should work:

git grep -l "scss" -- "*.tsx" |  xargs sed -i '' -e 's/\.scss/\.module\.scss/g'

(from a note found after googling for the correct sed syntax)

  • (no subject)

    com-petere со-ревновать-ся

  • (no subject)

    Someone is actually running a youtube ad campaign targeting React developers with a course on becoming a UI architect: The site that the ad…

  • (no subject)

    A beautiful cartoon on the front page of The Week:

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.