@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.2.0-dev.
|
|
1
|
+
{"version":"1.2.0-dev.2666688189", "build":"2666688189", "date":"10/07/2026"}
|
package/templates/vite.config.js
CHANGED
|
@@ -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({
|