From d8dca4d4d6e14de7e3fa2efbe64dbac851feb6f4 Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Thu, 25 Jul 2024 15:39:41 +0300 Subject: [PATCH] docs: update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d1130dee..ef342341 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ type sources = Default: `true` -By default every loadable attribute (for example - ``) is imported (`const img = require('./image.png')` or `import img from "./image.png""`). +By default every loadable attribute (for example - ``) is imported (`const img = require('./image.png')` or `new URL("./image.png", import.meta.url)`). You may need to specify loaders for images in your configuration (recommended [`asset modules`](https://webpack.js.org/guides/asset-modules/)). Supported tags and attributes: