With a config like allowAppImports: ['images/**/*.webp'] and importing a file like image.webp, eai would fail to handle that import properly, as it assumes that explicit extensions would be 1-3 characters long.
With a proper webpack loader we can make it import any type of file, so we shouldn't make assumptions about the possible extensions.
With a config like
allowAppImports: ['images/**/*.webp']
and importing a file likeimage.webp
, eai would fail to handle that import properly, as it assumes that explicit extensions would be 1-3 characters long.With a proper webpack loader we can make it import any type of file, so we shouldn't make assumptions about the possible extensions.