这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/pages/docs/getting-started.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Getting Started
title: Getting Started
---

import Callout from "../../components/callout";
Expand Down Expand Up @@ -101,7 +101,7 @@ In the above example, the `build` and `test` tasks are dependant on their packag
For each script in each workspace's `package.json`, Turborepo will cache files outputted to `dist/**` and `build/**` folders by default if an override isn't added. Using the [`outputs`](./features/caching#configuring-cache-outputs-1) array allows you to override the default cache folders,
like in the example above, where the `.next/**` folder is selected to be the default cache folder for the `build` task. Turborepo will automatically record and cache logs to `.turbo/turbo-<script>.log` for you, so you don't ever need to specify that in the `outputs` array.

Finally, the `dev` task has it's chaching disabled using the `cache` key with a value of `false`.
Finally, the `dev` task has its caching disabled using the `cache` key with a value of `false`.

See the [`Pipelines`](./features/pipelines) documentation for more details on how to configure your pipeline.

Expand Down Expand Up @@ -157,7 +157,7 @@ At the moment, Turborepo caches your tasks on your local filesystem (i.e. "singl

Turborepo can use a technique known as Remote Caching to share cache artifacts across machines for an additional speed boost.

<Callout type="error">
<Callout type="error">
Remote Caching is a powerful feature of Turborepo, but with great power comes great responsibility. Make sure you are caching correctly first and double check handling of environment variables. Please also remember Turborepo treats logs as artifacts, so be aware of what you are printing to the console.
</Callout>

Expand Down