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.
2 parents 8519d7c + c931499 commit d3c5508Copy full SHA for d3c5508
ts/addon.ts
@@ -185,7 +185,7 @@ export default addon({
185
_addBabelPluginIfNotPresent(pluginName: string, pluginOptions?: AddPluginOptions) {
186
let target = this._getConfigurationTarget();
187
if (!hasPlugin(target, pluginName)) {
188
- addPlugin(target, pluginName, pluginOptions);
+ addPlugin(target, require.resolve(pluginName), pluginOptions);
189
}
190
},
191
0 commit comments