web: codemod `web/nav` components to CSS modules
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: valerybugakov
This PR results from the global-css-to-css-modules codemod application with some manual fixes, caused by the usage of global CSS classes tied to a React component in other parts of the codebase: e.g., .sidebar
class used outside of the <Sidebar />
component.
git clone https://github.com/sourcegraph/codemod
cd codemod && yarn
yarn transform -t globalCssToCssModule --write true "/sourcegraph/client/web/src/nav/**/*.tsx"
Post codemod steps
in the codemod README.md
client/web/src/nav
are converted to CSS modules.
Push commits to the source branch or add previously merged commits to review them.