@workleap/webpack-configs 1.5.2 → 1.5.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/build.d.ts +18 -19
  3. package/dist/build.js +219 -3
  4. package/dist/build.js.map +1 -0
  5. package/dist/dev.d.ts +16 -17
  6. package/dist/dev.js +208 -3
  7. package/dist/dev.js.map +1 -0
  8. package/dist/index.d.ts +6 -12
  9. package/dist/index.js +15 -7
  10. package/dist/index.js.map +1 -0
  11. package/dist/transformers/applyTransformers.d.ts +4 -7
  12. package/dist/transformers/applyTransformers.js +20 -1
  13. package/dist/transformers/applyTransformers.js.map +1 -0
  14. package/dist/transformers/moduleRules.d.ts +15 -17
  15. package/dist/transformers/moduleRules.js +166 -1
  16. package/dist/transformers/moduleRules.js.map +1 -0
  17. package/dist/transformers/plugins.d.ts +11 -14
  18. package/dist/transformers/plugins.js +69 -1
  19. package/dist/transformers/plugins.js.map +1 -0
  20. package/dist/types.d.ts +1 -1
  21. package/dist/types.js +6 -1
  22. package/dist/types.js.map +1 -0
  23. package/dist/utils.d.ts +4 -6
  24. package/dist/utils.js +22 -1
  25. package/dist/utils.js.map +1 -0
  26. package/package.json +24 -22
  27. package/src/build.ts +240 -0
  28. package/src/dev.ts +233 -0
  29. package/src/index.ts +7 -0
  30. package/src/transformers/applyTransformers.ts +28 -0
  31. package/src/transformers/moduleRules.ts +229 -0
  32. package/src/transformers/plugins.ts +102 -0
  33. package/src/types.ts +1 -0
  34. package/src/utils.ts +19 -0
  35. package/dist/chunk-2YARCRX5.js +0 -15
  36. package/dist/chunk-34O5ZLZ6.js +0 -154
  37. package/dist/chunk-5ACA7GOB.js +0 -17
  38. package/dist/chunk-6F4PWJZI.js +0 -1
  39. package/dist/chunk-CW54GSNS.js +0 -197
  40. package/dist/chunk-JPURRV2F.js +0 -71
  41. package/dist/chunk-JU2EHEXW.js +0 -186
@@ -0,0 +1,229 @@
1
+ import path from "node:path";
2
+ import type { RuleSetRule, RuleSetUseItem } from "webpack";
3
+ import type { WebpackConfig } from "../types.ts";
4
+
5
+ export type ModuleRuleMatcher = (moduleRule: RuleSetRule | RuleSetUseItem, index: number, array: RuleSetRule[] | RuleSetUseItem[]) => boolean;
6
+
7
+ export type WithModuleRuleMatcherInfo = {
8
+ info: {
9
+ type: string;
10
+ value: string;
11
+ };
12
+ } & ModuleRuleMatcher;
13
+
14
+ function isNameMatchingLoader(loader: string, name: string) {
15
+ return loader === name || loader.indexOf(`${path.sep}${name}${path.sep}`) !== -1 || loader.indexOf(`@${name}${path.sep}`) !== -1;
16
+ }
17
+
18
+ export function matchLoaderName(name: string): ModuleRuleMatcher {
19
+ const matcher: WithModuleRuleMatcherInfo = moduleRule => {
20
+ if (typeof moduleRule === "string") {
21
+ return isNameMatchingLoader(moduleRule, name);
22
+ } else {
23
+ if ("loader" in moduleRule && moduleRule.loader) {
24
+ return isNameMatchingLoader(moduleRule.loader, name);
25
+ }
26
+ }
27
+
28
+ return false;
29
+ };
30
+
31
+ // Add contextual information about the matcher for debugging.
32
+ matcher.info = {
33
+ type: matchLoaderName.name,
34
+ value: name
35
+ };
36
+
37
+ return matcher;
38
+ }
39
+
40
+ export type AssetModuleType =
41
+ | "javascript/auto"
42
+ | "javascript/dynamic"
43
+ | "javascript/esm"
44
+ | "json"
45
+ | "webassembly/sync"
46
+ | "webassembly/async"
47
+ | "asset"
48
+ | "asset/source"
49
+ | "asset/resource"
50
+ | "asset/inline";
51
+
52
+ export function matchAssetModuleType(type: AssetModuleType): ModuleRuleMatcher {
53
+ const matcher: WithModuleRuleMatcherInfo = moduleRule => {
54
+ if (typeof moduleRule !== "string" && "type" in moduleRule) {
55
+ return moduleRule.type === type;
56
+ }
57
+
58
+ return false;
59
+ };
60
+
61
+ // Add contextual information about the matcher for debugging.
62
+ matcher.info = {
63
+ type: matchAssetModuleType.name,
64
+ value: type
65
+ };
66
+
67
+ return matcher;
68
+ }
69
+
70
+ export function matchTest(test: string | RegExp): ModuleRuleMatcher {
71
+ const matcher: WithModuleRuleMatcherInfo = moduleRule => {
72
+ if (typeof moduleRule !== "string" && "test" in moduleRule) {
73
+ if (typeof moduleRule.test === "object" && typeof test === "object") {
74
+ // Assuming it's regular expressions.
75
+ return moduleRule.test.toString() === test.toString();
76
+ }
77
+
78
+ return moduleRule.test === test;
79
+ }
80
+
81
+ return false;
82
+ };
83
+
84
+ // Add contextual information about the matcher for debugging.
85
+ matcher.info = {
86
+ type: matchTest.name,
87
+ value: test.toString()
88
+ };
89
+
90
+ return matcher;
91
+ }
92
+
93
+ export interface ModuleRuleMatch {
94
+ moduleRule: RuleSetRule | RuleSetUseItem;
95
+ index: number;
96
+ parent: RuleSetRule[] | RuleSetUseItem[];
97
+ }
98
+
99
+ function toMatch(moduleRule: RuleSetRule | RuleSetUseItem, index: number, parent: RuleSetRule[] | RuleSetUseItem[]) {
100
+ return {
101
+ moduleRule,
102
+ index,
103
+ parent
104
+ };
105
+ }
106
+
107
+ function isRuleSetRule(value: RuleSetRule | RuleSetUseItem): value is RuleSetRule {
108
+ return (value as RuleSetRule).use !== undefined || (value as RuleSetRule).oneOf !== undefined;
109
+ }
110
+
111
+ function findModuleRulesRecursively(moduleRules: RuleSetRule[] | RuleSetUseItem[], matcher: ModuleRuleMatcher, parent: RuleSetRule[] | RuleSetUseItem[], matches: ModuleRuleMatch[]) {
112
+ moduleRules.forEach((x, index, array) => {
113
+ if (x) {
114
+ if (matcher(x, index, array)) {
115
+ matches.push(toMatch(x, index, parent));
116
+ } else {
117
+ if (isRuleSetRule(x)) {
118
+ if (x.use) {
119
+ findModuleRulesRecursively(x.use as RuleSetUseItem[], matcher, x.use as RuleSetUseItem[], matches);
120
+ } else if (x.oneOf) {
121
+ // This error seems to have been introduced by either TS 5.2. or webpack 5.88.1 (https://github.com/webpack/webpack/releases/tag/v5.88.1),
122
+ // I am not sure what changed thought.
123
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
124
+ // @ts-ignore
125
+ findModuleRulesRecursively(x.oneOf, matcher, x.oneOf, matches);
126
+ }
127
+ }
128
+ }
129
+ }
130
+ });
131
+ }
132
+
133
+ export function findModuleRule(config: WebpackConfig, matcher: ModuleRuleMatcher) {
134
+ const moduleRules = config.module?.rules;
135
+
136
+ if (!moduleRules) {
137
+ return;
138
+ }
139
+
140
+ const matches: ModuleRuleMatch[] = [];
141
+
142
+ findModuleRulesRecursively(moduleRules as RuleSetRule[], matcher, moduleRules as RuleSetRule[], matches);
143
+
144
+ if (matches.length > 1) {
145
+ const matcherInfo = (matcher as WithModuleRuleMatcherInfo).info;
146
+
147
+ throw new Error(`[webpack-configs] Found more than 1 matching module rule.\n[webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"\n[webpack-configs] Matches: "${JSON.stringify(matches.map(x => x.moduleRule))}"`);
148
+ }
149
+
150
+ return matches[0];
151
+ }
152
+
153
+ export function findModuleRules(config: WebpackConfig, matcher: ModuleRuleMatcher) {
154
+ const moduleRules = config.module?.rules;
155
+
156
+ if (!moduleRules) {
157
+ return;
158
+ }
159
+
160
+ const matches: ModuleRuleMatch[] = [];
161
+
162
+ findModuleRulesRecursively(moduleRules as RuleSetRule[], matcher, moduleRules as RuleSetRule[], matches);
163
+
164
+ return matches;
165
+ }
166
+
167
+ export function addBeforeModuleRule(config: WebpackConfig, matcher: ModuleRuleMatcher, newModuleRules: RuleSetRule[] | RuleSetUseItem[]) {
168
+ const match = findModuleRule(config, matcher);
169
+
170
+ if (match) {
171
+ match.parent.splice(match.index, 0, ...newModuleRules);
172
+ } else {
173
+ const matcherInfo = (matcher as WithModuleRuleMatcherInfo).info;
174
+
175
+ throw new Error(`[webpack-configs] Couldn't add the new module rules because no match has been found.\n[webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"`);
176
+ }
177
+ }
178
+
179
+ export function addAfterModuleRule(config: WebpackConfig, matcher: ModuleRuleMatcher, newModuleRules: RuleSetRule[] | RuleSetUseItem[]) {
180
+ const match = findModuleRule(config, matcher);
181
+
182
+ if (match) {
183
+ match.parent.splice(match.index + 1, 0, ...newModuleRules);
184
+ } else {
185
+ const matcherInfo = (matcher as WithModuleRuleMatcherInfo).info;
186
+
187
+ throw new Error(`[webpack-configs] Couldn't add the new module rules because no match has been found.\n[webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"`);
188
+ }
189
+ }
190
+
191
+ export function replaceModuleRule(config: WebpackConfig, matcher: ModuleRuleMatcher, newModuleRule: RuleSetRule | RuleSetUseItem) {
192
+ const match = findModuleRule(config, matcher);
193
+
194
+ if (match) {
195
+ match.parent[match.index] = newModuleRule;
196
+ } else {
197
+ const matcherInfo = (matcher as WithModuleRuleMatcherInfo).info;
198
+
199
+ throw new Error(`[webpack-configs] Couldn't replace the module rule because no match has been found.\n[webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"`);
200
+ }
201
+ }
202
+
203
+ export function removeModuleRules(config: WebpackConfig, matcher: ModuleRuleMatcher) {
204
+ const moduleRules = config.module?.rules;
205
+
206
+ if (!moduleRules) {
207
+ return;
208
+ }
209
+
210
+ const matches: ModuleRuleMatch[] = [];
211
+
212
+ findModuleRulesRecursively(moduleRules as RuleSetRule[], matcher, moduleRules as RuleSetRule[], matches);
213
+
214
+ if (matches.length > 0) {
215
+ // Must keep the initial parent arrays' length to calculate the adjustment
216
+ // once the first match has been deleted.
217
+ const initialParentLengths = new Map<RuleSetRule[] | RuleSetUseItem[], number>(matches.map(x => [x.parent, x.parent.length]));
218
+
219
+ matches.forEach(x => {
220
+ const positionAdjustment = initialParentLengths.get(x.parent)! - x.parent.length;
221
+
222
+ x.parent.splice(x.index - positionAdjustment, 1);
223
+ });
224
+ } else {
225
+ const matcherInfo = (matcher as WithModuleRuleMatcherInfo).info;
226
+
227
+ throw new Error(`[webpack-configs] Didn't remove any module rules because no match has been found.\n[webpack-configs] Matcher: "${matcherInfo}"`);
228
+ }
229
+ }
@@ -0,0 +1,102 @@
1
+ import type { WebpackConfig } from "../types.ts";
2
+
3
+ export type WebpackPlugin = NonNullable<WebpackConfig["plugins"]>[number];
4
+
5
+ export type PluginMatcher = (plugin: WebpackPlugin, index: number, array: WebpackPlugin[]) => boolean;
6
+
7
+ export type WithPluginMatcherInfo = {
8
+ info: {
9
+ type: string;
10
+ value: string;
11
+ };
12
+ } & PluginMatcher;
13
+
14
+ export function matchConstructorName(name: string): PluginMatcher {
15
+ const matcher: WithPluginMatcherInfo = plugin => {
16
+ return plugin?.constructor.name === name;
17
+ };
18
+
19
+ // Add contextual information about the matcher for debugging.
20
+ matcher.info = {
21
+ type: matchConstructorName.name,
22
+ value: name
23
+ };
24
+
25
+ return matcher;
26
+ }
27
+
28
+ export interface PluginMatch {
29
+ plugin: WebpackPlugin;
30
+ index: number;
31
+ }
32
+
33
+ export function findPlugin(config: WebpackConfig, matcher: PluginMatcher) {
34
+ const matches: PluginMatch[] = [];
35
+
36
+ config.plugins?.forEach((x, index, array) => {
37
+ if (matcher(x, index, array)) {
38
+ matches.push({
39
+ plugin: x,
40
+ index
41
+ });
42
+ }
43
+ });
44
+
45
+ if (matches.length > 1) {
46
+ const matcherInfo = (matcher as WithPluginMatcherInfo).info;
47
+
48
+ throw new Error(`[webpack-configs] Found more than 1 matching plugin.\n[webp-configs] Matcher: "${JSON.stringify(matcherInfo)}"\n[webpack-configs] Matches: "${JSON.stringify(matches.map(x => x.plugin))}"`);
49
+ }
50
+
51
+ return matches[0];
52
+ }
53
+
54
+ export function replacePlugin(config: WebpackConfig, matcher: PluginMatcher, newPlugin: WebpackPlugin) {
55
+ const match = findPlugin(config, matcher);
56
+
57
+ if (match) {
58
+ config.plugins![match.index] = newPlugin;
59
+ } else {
60
+ const matcherInfo = (matcher as WithPluginMatcherInfo).info;
61
+
62
+ throw new Error(`[webpack-configs] Couldn't replace the plugin because no match has been found.\n[webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"`);
63
+ }
64
+ }
65
+
66
+ export function addBeforePlugin(config: WebpackConfig, matcher: PluginMatcher, newPlugins: WebpackPlugin[]) {
67
+ const match = findPlugin(config, matcher);
68
+
69
+ if (match) {
70
+ config.plugins?.splice(match.index, 0, ...newPlugins);
71
+ } else {
72
+ const matcherInfo = (matcher as WithPluginMatcherInfo).info;
73
+
74
+ throw new Error(`[webpack-configs] Couldn't add the new plugins because no match has been found.\n[webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"`);
75
+ }
76
+ }
77
+
78
+ export function addAfterPlugin(config: WebpackConfig, matcher: PluginMatcher, newPlugins: WebpackPlugin[]) {
79
+ const match = findPlugin(config, matcher);
80
+
81
+ if (match) {
82
+ config.plugins?.splice(match.index + 1, 0, ...newPlugins);
83
+ } else {
84
+ const matcherInfo = (matcher as WithPluginMatcherInfo).info;
85
+
86
+ throw new Error(`[webpack-configs] Couldn't add the new plugins because no match has been found.\n[webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"`);
87
+ }
88
+ }
89
+
90
+ export function removePlugin(config: WebpackConfig, matcher: PluginMatcher) {
91
+ const countBefore = config.plugins?.length ?? 0;
92
+
93
+ config.plugins = config.plugins?.filter((...args) => !matcher(...args));
94
+
95
+ const countAfter = config.plugins?.length ?? 0;
96
+
97
+ if (countBefore === countAfter) {
98
+ const matcherInfo = (matcher as WithPluginMatcherInfo).info;
99
+
100
+ throw new Error(`[webpack-configs] Didn't remove any plugin because no match has been found.\n[webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"`);
101
+ }
102
+ }
package/src/types.ts ADDED
@@ -0,0 +1 @@
1
+ export type { Configuration as WebpackConfig } from "webpack";
package/src/utils.ts ADDED
@@ -0,0 +1,19 @@
1
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2
+ export function isObject(value: any): value is Record<string, unknown> {
3
+ return typeof value === "object" && !Array.isArray(value) && value != null;
4
+ }
5
+
6
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
7
+ export function isNull(value: any): value is null {
8
+ return value == null;
9
+ }
10
+
11
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
12
+ export function isUndefined(value: any): value is undefined {
13
+ return typeof value === "undefined" || value === undefined;
14
+ }
15
+
16
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
17
+ export function isNil(value: any): value is null | undefined {
18
+ return isNull(value) || isUndefined(value);
19
+ }
@@ -1,15 +0,0 @@
1
- // src/utils.ts
2
- function isObject(value) {
3
- return typeof value === "object" && !Array.isArray(value) && value != null;
4
- }
5
- function isNull(value) {
6
- return value == null;
7
- }
8
- function isUndefined(value) {
9
- return typeof value === "undefined" || value === void 0;
10
- }
11
- function isNil(value) {
12
- return isNull(value) || isUndefined(value);
13
- }
14
-
15
- export { isNil, isNull, isObject, isUndefined };
@@ -1,154 +0,0 @@
1
- import path from 'path';
2
-
3
- // src/transformers/moduleRules.ts
4
- function isNameMatchingLoader(loader, name) {
5
- return loader === name || loader.indexOf(`${path.sep}${name}${path.sep}`) !== -1 || loader.indexOf(`@${name}${path.sep}`) !== -1;
6
- }
7
- function matchLoaderName(name) {
8
- const matcher = (moduleRule) => {
9
- if (typeof moduleRule === "string") {
10
- return isNameMatchingLoader(moduleRule, name);
11
- } else {
12
- if ("loader" in moduleRule && moduleRule.loader) {
13
- return isNameMatchingLoader(moduleRule.loader, name);
14
- }
15
- }
16
- return false;
17
- };
18
- matcher.info = {
19
- type: matchLoaderName.name,
20
- value: name
21
- };
22
- return matcher;
23
- }
24
- function matchAssetModuleType(type) {
25
- const matcher = (moduleRule) => {
26
- if (typeof moduleRule !== "string" && "type" in moduleRule) {
27
- return moduleRule.type === type;
28
- }
29
- return false;
30
- };
31
- matcher.info = {
32
- type: matchAssetModuleType.name,
33
- value: type
34
- };
35
- return matcher;
36
- }
37
- function matchTest(test) {
38
- const matcher = (moduleRule) => {
39
- if (typeof moduleRule !== "string" && "test" in moduleRule) {
40
- if (typeof moduleRule.test === "object" && typeof test === "object") {
41
- return moduleRule.test.toString() === test.toString();
42
- }
43
- return moduleRule.test === test;
44
- }
45
- return false;
46
- };
47
- matcher.info = {
48
- type: matchTest.name,
49
- value: test.toString()
50
- };
51
- return matcher;
52
- }
53
- function toMatch(moduleRule, index, parent) {
54
- return {
55
- moduleRule,
56
- index,
57
- parent
58
- };
59
- }
60
- function isRuleSetRule(value) {
61
- return value.use !== void 0 || value.oneOf !== void 0;
62
- }
63
- function findModuleRulesRecursively(moduleRules, matcher, parent, matches) {
64
- moduleRules.forEach((x, index, array) => {
65
- if (x) {
66
- if (matcher(x, index, array)) {
67
- matches.push(toMatch(x, index, parent));
68
- } else {
69
- if (isRuleSetRule(x)) {
70
- if (x.use) {
71
- findModuleRulesRecursively(x.use, matcher, x.use, matches);
72
- } else if (x.oneOf) {
73
- findModuleRulesRecursively(x.oneOf, matcher, x.oneOf, matches);
74
- }
75
- }
76
- }
77
- }
78
- });
79
- }
80
- function findModuleRule(config, matcher) {
81
- const moduleRules = config.module?.rules;
82
- if (!moduleRules) {
83
- return;
84
- }
85
- const matches = [];
86
- findModuleRulesRecursively(moduleRules, matcher, moduleRules, matches);
87
- if (matches.length > 1) {
88
- const matcherInfo = matcher.info;
89
- throw new Error(`[webpack-configs] Found more than 1 matching module rule.
90
- [webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"
91
- [webpack-configs] Matches: "${JSON.stringify(matches.map((x) => x.moduleRule))}"`);
92
- }
93
- return matches[0];
94
- }
95
- function findModuleRules(config, matcher) {
96
- const moduleRules = config.module?.rules;
97
- if (!moduleRules) {
98
- return;
99
- }
100
- const matches = [];
101
- findModuleRulesRecursively(moduleRules, matcher, moduleRules, matches);
102
- return matches;
103
- }
104
- function addBeforeModuleRule(config, matcher, newModuleRules) {
105
- const match = findModuleRule(config, matcher);
106
- if (match) {
107
- match.parent.splice(match.index, 0, ...newModuleRules);
108
- } else {
109
- const matcherInfo = matcher.info;
110
- throw new Error(`[webpack-configs] Couldn't add the new module rules because no match has been found.
111
- [webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"`);
112
- }
113
- }
114
- function addAfterModuleRule(config, matcher, newModuleRules) {
115
- const match = findModuleRule(config, matcher);
116
- if (match) {
117
- match.parent.splice(match.index + 1, 0, ...newModuleRules);
118
- } else {
119
- const matcherInfo = matcher.info;
120
- throw new Error(`[webpack-configs] Couldn't add the new module rules because no match has been found.
121
- [webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"`);
122
- }
123
- }
124
- function replaceModuleRule(config, matcher, newModuleRule) {
125
- const match = findModuleRule(config, matcher);
126
- if (match) {
127
- match.parent[match.index] = newModuleRule;
128
- } else {
129
- const matcherInfo = matcher.info;
130
- throw new Error(`[webpack-configs] Couldn't replace the module rule because no match has been found.
131
- [webpack-configs] Matcher: "${JSON.stringify(matcherInfo)}"`);
132
- }
133
- }
134
- function removeModuleRules(config, matcher) {
135
- const moduleRules = config.module?.rules;
136
- if (!moduleRules) {
137
- return;
138
- }
139
- const matches = [];
140
- findModuleRulesRecursively(moduleRules, matcher, moduleRules, matches);
141
- if (matches.length > 0) {
142
- const initialParentLengths = new Map(matches.map((x) => [x.parent, x.parent.length]));
143
- matches.forEach((x) => {
144
- const positionAdjustment = initialParentLengths.get(x.parent) - x.parent.length;
145
- x.parent.splice(x.index - positionAdjustment, 1);
146
- });
147
- } else {
148
- const matcherInfo = matcher.info;
149
- throw new Error(`[webpack-configs] Didn't remove any module rules because no match has been found.
150
- [webpack-configs] Matcher: "${matcherInfo}"`);
151
- }
152
- }
153
-
154
- export { addAfterModuleRule, addBeforeModuleRule, findModuleRule, findModuleRules, matchAssetModuleType, matchLoaderName, matchTest, removeModuleRules, replaceModuleRule };
@@ -1,17 +0,0 @@
1
- // src/transformers/applyTransformers.ts
2
- function applyTransformers(config, transformers, context) {
3
- let count = 0;
4
- const transformedConfig = transformers.reduce((acc, transformer) => {
5
- const newConfig = transformer(acc, context);
6
- count += 1;
7
- return newConfig;
8
- }, config);
9
- if (context.verbose) {
10
- if (count > 0) {
11
- console.log(`[webpack-configs] Applied ${count} configuration transformers.`);
12
- }
13
- }
14
- return transformedConfig;
15
- }
16
-
17
- export { applyTransformers };
@@ -1 +0,0 @@
1
-