We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b1a7a commit a9f9ce7Copy full SHA for a9f9ce7
lib/plugin-launcher.js
@@ -1,4 +1,3 @@
1
module.exports = function (params) {
2
- let fn = require(params.requireFile)[params.buildUsing];
3
- return fn(params.params).plugin;
+ return require(params.requireFile)[params.buildUsing](params.params).plugin;
4
};
lib/utils.js
@@ -38,7 +38,6 @@ function convertPlugins(wrappers) {
38
requireFile: wrapper.requireFile,
39
buildUsing: wrapper.buildUsing,
40
params: wrapper.params,
41
- type: 'wrapper',
42
},
43
];
44
}
@@ -49,7 +48,6 @@ function convertPlugins(wrappers) {
49
48
requireFile: wrapper.parallelBabel.requireFile,
50
buildUsing: wrapper.parallelBabel.buildUsing,
51
params: wrapper.parallelBabel.params,
52
- type: 'plugin',
53
54
55
0 commit comments