Skip to content

Commit

Permalink
docs: update entry/project defaults with production mode (#861)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 authored Dec 2, 2024
1 parent dbf502b commit 5f4e139
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/docs/src/content/docs/explanations/entry-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ entry files. Here's the default configuration in full:
```json
{
"entry": [
"{index,main,cli}.{js,cjs,mjs,jsx,ts,cts,mts,tsx}",
"src/{index,main,cli}.{js,cjs,mjs,jsx,ts,cts,mts,tsx}"
"{index,cli,main}.{js,cjs,mjs,jsx,ts,cts,mts,tsx}",
"src/{index,cli,main}.{js,cjs,mjs,jsx,ts,cts,mts,tsx}"
],
"project": ["**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}"]
"project": ["**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}!"]
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,10 @@ To reiterate, the default `entry` and `project` files for each workspace:
```json
{
"entry": [
"{index,main,cli}.{js,cjs,mjs,jsx,ts,cts,mts,tsx}",
"src/{index,main,cli}.{js,cjs,mjs,jsx,ts,cts,mts,tsx}"
"{index,cli,main}.{js,cjs,mjs,jsx,ts,cts,mts,tsx}",
"src/{index,cli,main}.{js,cjs,mjs,jsx,ts,cts,mts,tsx}"
],
"project": ["**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}"]
"project": ["**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}!"]
}
```

Expand Down

0 comments on commit 5f4e139

Please sign in to comment.