Andrey (azangru) wrote,
Andrey
azangru

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)
Subscribe

  • (no subject)

    Tweeted and retweeted by developers. Dunno. Been working for me. Can't speak to excellence, but certainly lots of stimulating humiliation:

  • (C)opied from Twitter

    Don't know if this is real or not, but if it is, it's really strange that Canadian bureaucrats should be specifically instructed not to use the…

  • (no subject)

    This was a good talk. Interesting to see that SvelteKit is taking the same direction as Remix.run, by using html forms to submit data without the…

  • Post a new comment

    Error

    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.
  • 0 comments