@centreon/js-config 26.5.4 → 26.5.5

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": "26.5.4",
4
+ "version": "26.5.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/centreon/centreon.git"
@@ -50,8 +50,13 @@ module.exports = {
50
50
  test: /\.(woff|woff2|eot|ttf|otf)$/i,
51
51
  type: 'asset/resource'
52
52
  },
53
+ {
54
+ test: /\.module\.css$/,
55
+ type: 'css/module'
56
+ },
53
57
  {
54
58
  test: /\.css$/,
59
+ exclude: /\.module\.css$/,
55
60
  type: 'css/auto',
56
61
  use: [
57
62
  {
@@ -21,11 +21,17 @@ const getBaseConfiguration = ({
21
21
  parser: {
22
22
  'css/auto': {
23
23
  namedExports: false
24
+ },
25
+ 'css/module': {
26
+ namedExports: false
24
27
  }
25
28
  },
26
29
  generator: {
27
30
  'css/auto': {
28
31
  exportsOnly: false
32
+ },
33
+ 'css/module': {
34
+ exportsOnly: false
29
35
  }
30
36
  }
31
37
  },
@@ -0,0 +1,14 @@
1
+ {
2
+ "compilerOptions": {
3
+ "noEmit": true,
4
+ "pretty": true,
5
+ "declaration": false,
6
+ "emitDeclarationOnly": false,
7
+ "noImplicitAny": true,
8
+ "noUnusedLocals": true,
9
+ "noUnusedParameters": true,
10
+ "noImplicitReturns": true
11
+
12
+ }
13
+ }
14
+