@centreon/js-config 24.4.1-MON-38245-ba-tree-widget.0 → 24.4.1-MON-38245-ba-tree-widget.2

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@centreon/js-config",
3
3
  "description": "Centreon Frontend shared build configuration",
4
- "version": "24.4.1-MON-38245-ba-tree-widget.0",
4
+ "version": "24.4.1-MON-38245-ba-tree-widget.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/centreon/centreon-frontend.git"
@@ -1,9 +1,7 @@
1
1
  const { CleanWebpackPlugin } = require('clean-webpack-plugin');
2
2
 
3
- const {
4
- WriteRemoEntryNameToModuleFederation
5
- } = require('../plugins/WriteRemoEntryNameToModuleFederation');
6
- const { TransformPreloadScript } = require('../plugins/TransformPreloadScript');
3
+ const WriteRemoEntryNameToModuleFederation = require('../plugins/WriteRemoEntryNameToModuleFederation');
4
+ const TransformPreloadScript = require('../plugins/TransformPreloadScript');
7
5
 
8
6
  module.exports = ({ outputPath, federatedComponentConfiguration }) => ({
9
7
  output: {
@@ -2,7 +2,7 @@ const fs = require('fs');
2
2
 
3
3
  const swc = require('@swc/core');
4
4
 
5
- export class TransformPreloadScript {
5
+ module.exports = class TransformPreloadScript {
6
6
  constructor(federatedComponentConfiguration) {
7
7
  this.federatedComponentConfiguration = federatedComponentConfiguration;
8
8
  }
@@ -34,4 +34,4 @@ export class TransformPreloadScript {
34
34
  }
35
35
  });
36
36
  }
37
- }
37
+ };
@@ -1,6 +1,6 @@
1
1
  const fs = require('fs');
2
2
 
3
- export class WriteRemoEntryNameToModuleFederation {
3
+ module.exports = class WriteRemoEntryNameToModuleFederation {
4
4
  constructor(federatedComponentConfiguration) {
5
5
  this.federatedComponentConfiguration = federatedComponentConfiguration;
6
6
  }
@@ -24,4 +24,4 @@ export class WriteRemoEntryNameToModuleFederation {
24
24
  );
25
25
  });
26
26
  }
27
- }
27
+ };