Skip to content

Commit

Permalink
docs: update error.ts
Browse files Browse the repository at this point in the history
Update recommended workaround for inlining a package that has a syntax error when resolving a bundled dependency, since the current workaround uses deprecated config options

close #6237
  • Loading branch information
IAmLuisJ authored Jul 29, 2024
2 parents 073a50c + 4404c06 commit 857b82d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions packages/vitest/src/node/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,14 @@ function printModuleWarningForPackage(
+ '\n'
+ c.green(`export default {
test: {
server: {
deps: {
inline: [
${c.yellow(c.bold(`"${name}"`))}
]
deps: {
optimizer: {
web : {
include: [
${c.yellow(c.bold(`"${name}"`))}
],
enabled: true
}
}
}
}
Expand Down

0 comments on commit 857b82d

Please sign in to comment.