@geogirafe/lib-geoportal 1.2.0-dev.2666680430 → 1.2.0-dev.2666688189

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "name": "GeoGirafe PSC",
6
6
  "url": "https://doc.geogirafe.org"
7
7
  },
8
- "version": "1.2.0-dev.2666680430",
8
+ "version": "1.2.0-dev.2666688189",
9
9
  "type": "module",
10
10
  "engines": {
11
11
  "node": ">=20.19.0"
@@ -1 +1 @@
1
- {"version":"1.2.0-dev.2666680430", "build":"2666680430", "date":"10/07/2026"}
1
+ {"version":"1.2.0-dev.2666688189", "build":"2666688189", "date":"10/07/2026"}
@@ -129,6 +129,18 @@ export default defineConfig(({ command, mode }) => {
129
129
  { src: 'node_modules/vanilla-picker/dist/*.css', dest: 'lib/vanilla-picker/' }
130
130
  ]
131
131
  }),
132
+ // This second usage of viteStaticCopy is dedicated to the library.
133
+ // It copies the files that should be copied when using the library only
134
+ // For example to override default icons or to defined custom styles
135
+ // But as those file do not have to exist, we ignore errors (silent=true)
136
+ viteStaticCopy({
137
+ targets: [
138
+ { src: `${geogirafeSource}/templates/public/about.json`, dest: '' },
139
+ { src: `src/styles/*.css`, dest: 'styles/' },
140
+ { src: `src/assets/*`, dest: '' }
141
+ ],
142
+ silent: true
143
+ }),
132
144
  InlineTemplatesPlugin(),
133
145
  HtmlRebuildPlugin(),
134
146
  createHtmlPlugin({