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 8519d7c commit c931499Copy full SHA for c931499
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