From e9104c1f336b561a442520e60436012e17cb7d39 Mon Sep 17 00:00:00 2001 From: Nicolas KEMPF Date: Wed, 17 May 2023 11:11:44 +0200 Subject: [PATCH 1/3] fix: :wrench: fix img folder source for copy --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index c7a45b6f3..467def8ab 100644 --- a/vite.config.js +++ b/vite.config.js @@ -45,7 +45,7 @@ export default defineConfig(async () => { }), copy({ targets: [ - { src: 'theme/img', dest: `udata_front/theme/${theme}/static/` }, + { src: `udata_front/theme/${theme}/assets/img`, dest: `udata_front/theme/${theme}/static/` }, { src: "node_modules/systemjs/dist/s.min.js", dest: `udata_front/theme/${theme}/static/js/` }, ], hook: 'writeBundle' From 6ac26fdc004cdcd2ba161dc46de2b7e311dca0a3 Mon Sep 17 00:00:00 2001 From: Nicolas KEMPF Date: Wed, 17 May 2023 11:13:58 +0200 Subject: [PATCH 2/3] docs: :memo: update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecf00d4dc..1911a373b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ - Add Matomo event tracking [#246](https://github.com/etalab/udata-front/pull/246) - New scope for Captchetat piste OAuth [#250](https://github.com/etalab/udata-front/pull/250) - Use `datetime.utcnow` to make sure to handle utc datetimes [#251](https://github.com/etalab/udata-front/pull/251) +- Fix `img` folder not copied [#255](https://github.com/etalab/udata-front/pull/255) ## 3.2.2 (2023-04-18) From 503bd0d92682b2025d4e58b45f76f8dd3ec5055c Mon Sep 17 00:00:00 2001 From: Nicolas KEMPF Date: Wed, 17 May 2023 12:10:21 +0200 Subject: [PATCH 3/3] docs: :memo: update changelog --- CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1911a373b..24c5b796c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Current (in progress) -- Nothing yet +- Fix `img` folder not copied [#255](https://github.com/etalab/udata-front/pull/255) ## 3.2.3 (2023-05-16) @@ -21,7 +21,6 @@ - Add Matomo event tracking [#246](https://github.com/etalab/udata-front/pull/246) - New scope for Captchetat piste OAuth [#250](https://github.com/etalab/udata-front/pull/250) - Use `datetime.utcnow` to make sure to handle utc datetimes [#251](https://github.com/etalab/udata-front/pull/251) -- Fix `img` folder not copied [#255](https://github.com/etalab/udata-front/pull/255) ## 3.2.2 (2023-04-18)