@elliemae/pui-cli 8.17.2 → 8.17.3

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.
@@ -69,14 +69,6 @@ const getAdditionalPlugins = () => [
69
69
  })
70
70
  ];
71
71
  const getModuleRules = () => [
72
- {
73
- test: /\.(m?js)$/,
74
- exclude: (0, import_helpers.excludeNodeModulesExcept)(import_helpers.modulesToTranspile),
75
- type: "javascript/auto",
76
- resolve: {
77
- fullySpecified: false
78
- }
79
- },
80
72
  {
81
73
  type: "asset",
82
74
  resourceQuery: /url/
@@ -105,15 +97,9 @@ const webpackFinal = (config, { configType }) => {
105
97
  config.plugins = config?.plugins?.concat((0, import_helpers.getCompressionPlugins)());
106
98
  }
107
99
  if (config.resolve) {
108
- const aliases = (0, import_helpers.getAlias)();
109
- const newAliases = Object.keys(aliases).reduce((acc, key) => {
110
- if (key !== "react" && key !== "react-dom")
111
- acc[key] = aliases[key];
112
- return acc;
113
- }, {});
114
100
  config.resolve.alias = {
115
101
  ...config?.resolve?.alias,
116
- ...newAliases,
102
+ ...(0, import_helpers.getAlias)(),
117
103
  ...(0, import_helpers.getLibraryAlias)(
118
104
  "@reduxjs/toolkit/query/react",
119
105
  "@reduxjs/toolkit/dist/query/react/rtk-query-react.esm.js"
@@ -2,13 +2,7 @@ import webpack from "webpack";
2
2
  import MiniCssExtractPlugin from "mini-css-extract-plugin";
3
3
  import CopyWebpackPlugin from "copy-webpack-plugin";
4
4
  import ResolveTypeScriptPlugin from "resolve-typescript-plugin";
5
- import {
6
- getAlias,
7
- getLibraryAlias,
8
- getCompressionPlugins,
9
- excludeNodeModulesExcept,
10
- modulesToTranspile
11
- } from "./helpers.js";
5
+ import { getAlias, getLibraryAlias, getCompressionPlugins } from "./helpers.js";
12
6
  import { isApp } from "../utils.js";
13
7
  const IS_APP = isApp();
14
8
  const CWD = process.cwd();
@@ -41,14 +35,6 @@ const getAdditionalPlugins = () => [
41
35
  })
42
36
  ];
43
37
  const getModuleRules = () => [
44
- {
45
- test: /\.(m?js)$/,
46
- exclude: excludeNodeModulesExcept(modulesToTranspile),
47
- type: "javascript/auto",
48
- resolve: {
49
- fullySpecified: false
50
- }
51
- },
52
38
  {
53
39
  type: "asset",
54
40
  resourceQuery: /url/
@@ -77,15 +63,9 @@ const webpackFinal = (config, { configType }) => {
77
63
  config.plugins = config?.plugins?.concat(getCompressionPlugins());
78
64
  }
79
65
  if (config.resolve) {
80
- const aliases = getAlias();
81
- const newAliases = Object.keys(aliases).reduce((acc, key) => {
82
- if (key !== "react" && key !== "react-dom")
83
- acc[key] = aliases[key];
84
- return acc;
85
- }, {});
86
66
  config.resolve.alias = {
87
67
  ...config?.resolve?.alias,
88
- ...newAliases,
68
+ ...getAlias(),
89
69
  ...getLibraryAlias(
90
70
  "@reduxjs/toolkit/query/react",
91
71
  "@reduxjs/toolkit/dist/query/react/rtk-query-react.esm.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "8.17.2",
3
+ "version": "8.17.3",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -118,7 +118,7 @@
118
118
  "@stylelint/postcss-css-in-js": "~0.38.0",
119
119
  "@svgr/webpack": "~7.0.0",
120
120
  "@swc/cli": "~0.1.62",
121
- "@swc/core": "~1.3.84",
121
+ "@swc/core": "~1.3.85",
122
122
  "@swc/jest": "~0.2.29",
123
123
  "@testing-library/jest-dom": "~5.17.0",
124
124
  "@testing-library/react": "~14.0.0",
@@ -132,7 +132,7 @@
132
132
  "@types/jest": "~29.5.4",
133
133
  "@types/jest-axe": "~3.5.5",
134
134
  "@types/moment-locales-webpack-plugin": "~1.2.3",
135
- "@types/node": "~18.17.15",
135
+ "@types/node": "~18.17.16",
136
136
  "@types/normalize-path": "~3.0.0",
137
137
  "@types/postcss-preset-env": "~7.7.0",
138
138
  "@types/rimraf": "~3.0.2",