@oroinc/oro-webpack-config-builder 6.1.0-lts16 → 6.1.0-lts18

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.
@@ -574,10 +574,11 @@ class ConfigBuilder {
574
574
  options: {
575
575
  implementation: require('sass'),
576
576
  sassOptions: {
577
- includePaths: [
578
- path.join(this.resolvedPublicPath, '/bundles')
577
+ loadPaths: [
578
+ path.join(this.resolvedPublicPath, '/bundles'),
579
+ path.join(this.resolvedProjectPath, '/assets')
579
580
  ],
580
- outputStyle: 'expanded'
581
+ style: 'expanded'
581
582
  },
582
583
  sourceMap: true,
583
584
  additionalData: this.prepareAdditionalSCSS.bind(this, themeDefinition)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oroinc/oro-webpack-config-builder",
3
- "version": "6.1.0-lts16",
3
+ "version": "6.1.0-lts18",
4
4
  "author": "Oro, Inc. (https://oroinc.com)",
5
5
  "license": "MIT",
6
6
  "description": "An integration of OroPlatform based applications with the Webpack.",
@@ -42,7 +42,7 @@
42
42
  "terser": "~5.46.0",
43
43
  "terser-webpack-plugin": "^5.3.16",
44
44
  "text-loader": "0.0.1",
45
- "underscore": "1.13.*",
45
+ "underscore": "^1.13.8",
46
46
  "url-loader": "~4.1.1",
47
47
  "webpack": "~5.105.0",
48
48
  "webpack-bundle-analyzer": "~5.2.0",
@@ -51,5 +51,10 @@
51
51
  "webpack-merge": "~6.0.1",
52
52
  "webpack-subresource-integrity": "^5.2.0-rc.1",
53
53
  "wildcard": "~2.0.1"
54
+ },
55
+ "overrides": {
56
+ "sockjs": {
57
+ "uuid": "^9.0.1"
58
+ }
54
59
  }
55
60
  }
@@ -28,11 +28,11 @@ class IntegrityFilePlugin {
28
28
  ];
29
29
  })
30
30
  );
31
- const jsonData = JSON.stringify(integrityData, null, 2);
32
- const outputPath = path.join(this.publicPath, compiler.options.output.publicPath, this.fileName);
33
31
 
34
- await fs.writeFile(outputPath, jsonData, 'utf8');
35
- compilation.emitAsset(outputPath, new sources.RawSource(jsonData));
32
+ compilation.emitAsset(
33
+ this.fileName,
34
+ new sources.RawSource(JSON.stringify(integrityData, null, 2))
35
+ );
36
36
  }
37
37
  );
38
38
  });