@oroinc/oro-webpack-config-builder 4.2.1-dev9 → 4.2.1-lts1

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.
@@ -9,7 +9,6 @@ const LayoutModulesConfigLoader = require('./modules-config/layout-modules-confi
9
9
  const LayoutStyleLoader = require('./style/layout-style-loader');
10
10
  const MapModulesPlugin = require('./plugin/map/map-modules-plugin');
11
11
  const MiniCssExtractPlugin = require('mini-css-extract-plugin');
12
- const HappyPack = require('happypack');
13
12
  const ModulesConfigLoader = require('./modules-config/modules-config-loader');
14
13
  const DynamicImportsFileWriter = require('./writer/dynamic-imports-file-writer');
15
14
  const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
@@ -290,18 +289,6 @@ class ConfigBuilder {
290
289
  }
291
290
 
292
291
  if (!env.skipJS && !env.skipBabel) {
293
- const happyPackOptions = {
294
- id: 'babel',
295
- loaders: [
296
- {
297
- loader: 'babel-loader',
298
- options: this._babelConfig
299
- }
300
- ]
301
- };
302
-
303
- webpackConfig.plugins.push(new HappyPack(happyPackOptions));
304
-
305
292
  webpackConfig.module.rules.push({
306
293
  test: /\.js$/,
307
294
  exclude: [
@@ -309,7 +296,10 @@ class ConfigBuilder {
309
296
  /[\/\\]node_modules[\/\\]/,
310
297
  /[\/\\]bundles[\/\\].+[\/\\]lib[\/\\]?/
311
298
  ],
312
- use: 'happypack/loader?id=babel'
299
+ use: {
300
+ loader: 'babel-loader',
301
+ options: this._babelConfig
302
+ }
313
303
  });
314
304
  }
315
305
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oroinc/oro-webpack-config-builder",
3
- "version": "4.2.1-dev9",
3
+ "version": "4.2.1-lts1",
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.",
@@ -18,7 +18,6 @@
18
18
  "extract-loader": "3.1.0",
19
19
  "file-loader": "^4.3.0",
20
20
  "font-awesome": "4.7.0",
21
- "happypack": "^5.0.1",
22
21
  "imports-loader": "^0.8.0",
23
22
  "inject-loader": "^4.0.1",
24
23
  "js-yaml": "4.1.0",