Skip to content

Commit

Permalink
chore(intl-tel-input.ts): add @vite-ignore comment to webpackIgnore d…
Browse files Browse the repository at this point in the history
…irective to ensure Vite ignores the path during bundling
  • Loading branch information
mihai-ro authored and jackocnr committed Jul 30, 2024
1 parent 7d62e50 commit 062fcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/intl-tel-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2298,7 +2298,7 @@ const loadUtils = (path: string): Promise<unknown> | null => {
intlTelInput.startedLoadingUtilsScript = true;

return new Promise((resolve, reject) => {
import(/* webpackIgnore: true */ path)
import(/* webpackIgnore: true */ /* @vite-ignore */ path)
.then(({ default: utils }) => {
intlTelInput.utils = utils;
forEachInstance("handleUtils");
Expand Down

0 comments on commit 062fcbd

Please sign in to comment.