A list of codemod steps to remove Bourbon from an scss codebase. Replace the -d src/
flag with a directory of your choice. For the project I'm converting now, each command should be run with the -d src/
flag, and then with the -d globals
flag to catch all locations where scss files may live.
Basic calls to transition (e.g., @include transition(opacity 200ms linear)
):
codemod -m -d src/ --extensions scss '@include transition\((.+?)\);' 'transition: \1;'