# UNSAFE_DYNAMIC_IMPORT: Dynamic import in the component

> Dynamic import in the component

| Severity | Fault                         | Stage        |
| -------- | ----------------------------- | ------------ |
| error    | customer (the source package) | build output |

## What it means

The bundle keeps an import() the builder could not resolve at build time, so at run time it would load a module from any URL into the host page (rule dynamic-import).

## How to fix

Use static imports (import x from "./file") of files in the package or allowlisted packages.
