doc(pack-up): fix config file name in readme (#19037)

This commit is contained in:
Rémi de Juvigny 2023-12-12 12:08:25 +01:00 committed by GitHub
parent 438091e28a
commit a3bd0451c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ Creates a new package at the given path, by default uses the inbuilt template se
### `build`
Builds your current package based on the configuration in your `package.json` and `package.config.ts` (if applicable).
Builds your current package based on the configuration in your `package.json` and `packup.config.ts` (if applicable).
- `--minify` minifies the output (default `false`).
- `--sourcemap` generates sourcemaps for the output (default `true`).
@ -82,10 +82,10 @@ Watches your current package for changes and rebuilds when necessary.
## Configuration
`@strapi/pack-up` by default reads its configuration from your `package.json`. But sometimes you need more flexibility, to do this you can create a `package.config.ts` file in the root of your package.
`@strapi/pack-up` by default reads its configuration from your `package.json`. But sometimes you need more flexibility, to do this you can create a `packup.config.ts` file in the root of your package.
```ts
// package.config.ts
// packup.config.ts
import { defineConfig } from '@strapi/pack-up';
export default defineConfig({