Skip to content

Commit

Permalink
Fix webpack complaining about dynamic import. Closes #1620
Browse files Browse the repository at this point in the history
  • Loading branch information
jackocnr committed May 17, 2024
1 parent 805f122 commit ed3725b
Show file tree
Hide file tree
Showing 13 changed files with 25,044 additions and 758 deletions.
5 changes: 4 additions & 1 deletion build/js/intlTelInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -2742,7 +2742,10 @@ var factoryOutput = (() => {
if (!intlTelInput.utils && !intlTelInput.startedLoadingUtilsScript) {
intlTelInput.startedLoadingUtilsScript = true;
return new Promise((resolve, reject) => {
import(path).then(({ default: utils }) => {
import(
/* webpackIgnore: true */
path
).then(({ default: utils }) => {
intlTelInput.utils = utils;
forEachInstance("handleUtils");
resolve(true);
Expand Down
2 changes: 1 addition & 1 deletion build/js/intlTelInput.min.js

Large diffs are not rendered by default.

0 comments on commit ed3725b

Please sign in to comment.