Skip to content

Commit

Permalink
Update packages/vite/src/node/plugins/importAnalysisBuild.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
  • Loading branch information
sheremet-va and bluwy committed Mar 1, 2022
1 parent 594fadb commit 276fac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/importAnalysisBuild.ts
Expand Up @@ -76,7 +76,7 @@ function preload(baseModule: () => Promise<{}>, deps?: string[]) {
return new Promise((res, rej) => {
link.addEventListener('load', res)
link.addEventListener('error', () =>
rej(new Error(`Unable to load CSS for ${dep}`))
rej(new Error(`Unable to preload CSS for ${dep}`))
)
})
}
Expand Down

0 comments on commit 276fac1

Please sign in to comment.