@oroinc/oro-webpack-config-builder 5.1.0-lts008 → 5.1.0-lts010

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.
@@ -27,8 +27,6 @@ const validation = require('./validation');
27
27
  const EventEmitter = require('events');
28
28
  const ErrorHandler = require('./error-handler');
29
29
 
30
- const {ModifySourcePlugin, ConcatOperation} = require('modify-source-webpack-plugin');
31
-
32
30
  require('resolve-url-loader');
33
31
 
34
32
  class ConfigBuilder {
@@ -374,19 +372,6 @@ class ConfigBuilder {
374
372
  new AfterWebpackLogsPlugin(
375
373
  stats => this.emitter.emit('build:complete', stats)
376
374
  ),
377
- new ModifySourcePlugin({
378
- rules: [
379
- {
380
- test: /\.js$/,
381
- operations: [
382
- new ConcatOperation(
383
- 'end',
384
- '\n;console.log("$FILE_PATH".replace("node_modules", "\x1B[92;4mnode_modules\x1B[m").replace("orothemedefault51", "\x1B[94;4morothemedefault51\x1B[m"));\n'
385
- )
386
- ]
387
- }
388
- ]
389
- }),
390
375
  ]
391
376
  };
392
377
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oroinc/oro-webpack-config-builder",
3
- "version": "5.1.0-lts008",
3
+ "version": "5.1.0-lts010",
4
4
  "author": "Oro, Inc (https://www.oroinc.com)",
5
5
  "license": "MIT",
6
6
  "description": "An integration of OroPlatform based applications with the Webpack.",
@@ -23,7 +23,6 @@
23
23
  "js-yaml": "~4.1.0",
24
24
  "mini-css-extract-plugin": "~2.7.1",
25
25
  "minimist": "~1.2.7",
26
- "modify-source-webpack-plugin": "^4.1.0",
27
26
  "nan": "~2.17.0",
28
27
  "path": "0.12.7",
29
28
  "postcss": "~8.4.23",
@@ -6,7 +6,7 @@ class AdminStyleLoader extends StyleLoader {
6
6
  * @inheritdoc
7
7
  */
8
8
  _fetchThemeConfig(themeName) {
9
- const {rtl_support: rtlSupport = false, styles: extraThemeConfig} =
9
+ const {rtl_support: rtlSupport = false, styles: extraThemeConfig = {}} =
10
10
  this._configLoader.loadConfig(themeName, 'Resources/public/themes/' + themeName + '/settings.yml');
11
11
  const baseThemeConfig = this._configLoader.loadConfig(themeName, 'Resources/config/oro/assets.yml');
12
12
  const appRootExtraConfig = this._configLoader.loadConfig(themeName, 'config/oro/assets.yml');