Skip to content

Commit

Permalink
chore: correct warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed May 15, 2021
1 parent e29788a commit 35f3305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/dynamicImportPolyfill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function dynamicImportPolyfillPlugin(config: ResolvedConfig): Plugin {
if (id === polyfillId) {
if (!enabled) {
config.logger.warnOnce(
`\n'vite/dynamic-import-polyfill' is no longer if you only target modern browsers`
`\n'vite/dynamic-import-polyfill' is no longer needed if you target modern browsers`
)
}
if (skip) {
Expand Down

0 comments on commit 35f3305

Please sign in to comment.