@redhat-cloud-services/frontend-components-config 6.0.0-beta.0 → 6.0.0-beta.1
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 +7 -7
- package/src/config.js +12 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redhat-cloud-services/frontend-components-config",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.1",
|
|
4
4
|
"description": "Config plugins and settings for RedHat Cloud Services project.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -22,28 +22,28 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.8",
|
|
24
24
|
"@redhat-cloud-services/frontend-components-config-utilities": "^3.0.0-beta.0",
|
|
25
|
+
"@swc/core": "^1.3.76",
|
|
25
26
|
"assert": "^2.0.0",
|
|
26
27
|
"axios": "^0.27.2",
|
|
27
|
-
"babel-loader": "^8.2.5",
|
|
28
28
|
"browserify-zlib": "^0.2.0",
|
|
29
29
|
"buffer": "^6.0.3",
|
|
30
|
+
"chalk": "^4.1.2",
|
|
30
31
|
"clean-webpack-plugin": "^3.0.0",
|
|
31
|
-
"css-loader": "^5.2.7",
|
|
32
32
|
"concurrently": "^7.4.0",
|
|
33
|
-
"
|
|
33
|
+
"css-loader": "^5.2.7",
|
|
34
34
|
"express": "^4.18.1",
|
|
35
35
|
"fork-ts-checker-webpack-plugin": "^7.2.13",
|
|
36
36
|
"git-revision-webpack-plugin": "^3.0.6",
|
|
37
37
|
"glob": "^7.2.3",
|
|
38
38
|
"html-replace-webpack-plugin": "^2.6.0",
|
|
39
39
|
"html-webpack-plugin": "^5.5.0",
|
|
40
|
-
"https-proxy-agent": "^5.0.1",
|
|
41
40
|
"http-server": "^13.1.0",
|
|
42
|
-
"
|
|
41
|
+
"https-proxy-agent": "^5.0.1",
|
|
43
42
|
"inquirer": "^8.2.4",
|
|
44
43
|
"js-yaml": "^4.1.0",
|
|
45
44
|
"jws": "^4.0.0",
|
|
46
45
|
"lodash": "^4.17.21",
|
|
46
|
+
"mini-css-extract-plugin": "^2.7.3",
|
|
47
47
|
"path-browserify": "^1.0.1",
|
|
48
48
|
"process": "^0.11.10",
|
|
49
49
|
"react-refresh": "^0.14.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"sass-loader": "^11.1.1",
|
|
52
52
|
"source-map-loader": "^3.0.1",
|
|
53
53
|
"stream-browserify": "^3.0.0",
|
|
54
|
-
"
|
|
54
|
+
"swc-loader": "^0.2.3",
|
|
55
55
|
"url": "^0.11.0",
|
|
56
56
|
"util": "^0.12.4",
|
|
57
57
|
"webpack": "^5.88.0",
|
package/src/config.js
CHANGED
|
@@ -106,28 +106,18 @@ module.exports = ({
|
|
|
106
106
|
module: {
|
|
107
107
|
rules: [
|
|
108
108
|
{
|
|
109
|
-
test:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
{
|
|
122
|
-
test: /src\/.*\.tsx?$/,
|
|
123
|
-
loader: 'ts-loader',
|
|
124
|
-
exclude: /(node_modules)/i,
|
|
125
|
-
/**
|
|
126
|
-
* Do not run type checking on main thread
|
|
127
|
-
* Type checking is offloaded to separate thread via ForkTsCheckerWebpackPlugin
|
|
128
|
-
*/
|
|
129
|
-
options: {
|
|
130
|
-
transpileOnly: true,
|
|
109
|
+
test: /\.(js|ts)x?$/,
|
|
110
|
+
exclude: /node_modules/,
|
|
111
|
+
use: {
|
|
112
|
+
loader: 'swc-loader',
|
|
113
|
+
options: {
|
|
114
|
+
jsc: {
|
|
115
|
+
parser: {
|
|
116
|
+
syntax: 'typescript',
|
|
117
|
+
tsx: true,
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
},
|
|
131
121
|
},
|
|
132
122
|
},
|
|
133
123
|
{
|