Skip to content

Commit ad82c46

Browse files
authored
Err code with ./extensions (#1977)
Because I tested this example to replace the favicon, and I've got an error. ```bash yarn run v1.22.19 $ strapi build ⠋ Building build context [INFO] Including the following ENV variables as part of the JS bundle: - ADMIN_PATH - STRAPI_ADMIN_BACKEND_URL - STRAPI_TELEMETRY_DISABLED ✔ Building build context (73ms) ⠋ Building admin panel ⠴ Building admin panel[ERROR] Module not found: Error: Can't resolve './extensions/favicon.png' in '/var/www/strapi/src/admin' ✖ Building admin panel [ERROR] There seems to be an unexpected error, try again with --debug for more information error Command failed with exit code 1. ```
1 parent 93fae49 commit ad82c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus/docs/dev-docs/admin-panel-customization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ To replace the favicon, use the following procedure:
452452
4. Update `./src/admin/app.js` with the following:
453453

454454
```js title="./src/admin/app.js"
455-
import favicon from "./extensions/favicon.png";
455+
import favicon from "../extensions/favicon.png";
456456

457457
export default {
458458
config: {

0 commit comments

Comments
 (0)