@eeacms/volto-globalsearch 2.0.11 → 2.1.1

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/CHANGELOG.md CHANGED
@@ -4,11 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
- ### [2.0.11](https://github.com/eea/volto-globalsearch/compare/2.0.10...2.0.11) - 8 April 2025
7
+ ### [2.1.1](https://github.com/eea/volto-globalsearch/compare/2.1.0...2.1.1) - 13 May 2025
8
8
 
9
9
  #### :hammer_and_wrench: Others
10
10
 
11
- - Update volto-searchlib version for package.json [Tiberiu Ichim - [`61bf147`](https://github.com/eea/volto-globalsearch/commit/61bf1473d229bc34daf6a95f41f2fccc7030fb5b)]
11
+ - Only this works [Tiberiu Ichim - [`9f24fae`](https://github.com/eea/volto-globalsearch/commit/9f24fae84804ed33bd56391531aa9edc17908ac8)]
12
+ - Tweak bundling for png files [Tiberiu Ichim - [`62834c2`](https://github.com/eea/volto-globalsearch/commit/62834c21527dbfbcaa30fe3a261c084918d0b8fb)]
13
+ - Tweak bundling for png files [Tiberiu Ichim - [`6b9be03`](https://github.com/eea/volto-globalsearch/commit/6b9be0304923d36094dcd465bbfb51456b6018a0)]
14
+ ### [2.1.0](https://github.com/eea/volto-globalsearch/compare/2.0.11...2.1.0) - 8 May 2025
15
+
16
+ ### [2.0.11](https://github.com/eea/volto-globalsearch/compare/2.0.10...2.0.11) - 8 April 2025
17
+
12
18
  ### [2.0.10](https://github.com/eea/volto-globalsearch/compare/2.0.9...2.0.10) - 26 March 2025
13
19
 
14
20
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-globalsearch",
3
- "version": "2.0.11",
3
+ "version": "2.1.1",
4
4
  "description": "@eeacms/volto-globalsearch: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -21,8 +21,8 @@
21
21
  "@eeacms/volto-listing-block"
22
22
  ],
23
23
  "dependencies": {
24
- "@eeacms/volto-listing-block": "8.1.2",
25
- "@eeacms/volto-searchlib": "2.0.15"
24
+ "@eeacms/volto-listing-block": "*",
25
+ "@eeacms/volto-searchlib": "*"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@cypress/code-coverage": "^3.10.0",
@@ -0,0 +1,35 @@
1
+ const makeLoaderFinder = require('razzle-dev-utils/makeLoaderFinder');
2
+ const fileLoaderFinder = makeLoaderFinder('file-loader');
3
+
4
+ const plugins = (defaultPlugins) => {
5
+ return defaultPlugins;
6
+ };
7
+
8
+ const modify = (config, { target, dev }, webpack) => {
9
+ const fileLoader = config.module.rules.find(fileLoaderFinder);
10
+
11
+ fileLoader.exclude = [
12
+ /\.(config|variables|overrides)$/,
13
+ /icons\/.*\.svg$/,
14
+ /\.html$/,
15
+ /\.(js|jsx|mjs)$/,
16
+ /\.(ts|tsx)$/,
17
+ /\.(vue)$/,
18
+ /\.(less)$/,
19
+ /\.(re)$/,
20
+ /\.(s?css|sass)$/,
21
+ /\.json$/,
22
+ /\.bmp$/,
23
+ /\.gif$/,
24
+ /\.jpe?g$/,
25
+ // .png files we don't want them in the bundle
26
+ /static\/\.png$/,
27
+ ];
28
+
29
+ return config;
30
+ };
31
+
32
+ module.exports = {
33
+ plugins,
34
+ modify,
35
+ };