Skip to content

Commit

Permalink
chore: wording
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Mar 7, 2022
1 parent 8edbe81 commit 463004d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/importGlob.ts
Expand Up @@ -141,7 +141,7 @@ export async function transformImportGlob(
logger.warn(
colors.yellow(
colors.bold(
"(!) Use `import.meta.globEager('/dir/*.js', { as: 'raw' })` instead of `import.meta.globEager('/dir/*.js', { assert: { type: 'raw' } })` (it will be deprecated in Vite 3.0)."
"(!) import.meta.glob('...', { assert: { type: 'raw' }}) is deprecated. Use import.meta.glob('...', { as: 'raw' }) instead."
)
)
)
Expand Down

0 comments on commit 463004d

Please sign in to comment.