Updated Updating code using legacy Fluid APIs (markdown)

Tyler Butler 2024-05-08 13:09:23 -07:00
Родитель 2b5007d2e5
Коммит 05792336b7
1 изменённых файлов: 3 добавлений и 3 удалений

@ -33,15 +33,15 @@ yarn install --global @fluid-tools/build-cli@latest
Once installed, you can rewrite the imports for a project by running `flub modify fluid-imports` and pointing it to the tsconfig.json file for your project.
```shell
flub modify fluid-imports --tsconfig tsconfig.json
flub modify fluid-imports --tsconfigs tsconfig.json
```
The flag defaults to `tsconfig.json` so it coule be omitted in the example above.
The flag defaults to `tsconfig.json` so it could be omitted in the example above.
If you have multiple tsconfigs, for example a primary tsconfig and a test tsconfig, you can use the `--tsconfig` lag multiple times. For example:
```shell
flub modify fluid-imports --tsconfig tsconfig.json --tsconfig test/tsconfig.json
flub modify fluid-imports --tsconfigs tsconfig.json --tsconfigs test/tsconfig.json
```
### Monorepo usage