Skip to content

Commit 3b03a82

Browse files
authored
Merge branch 'master' into gh-actions
2 parents 1b48473 + d3c5508 commit 3b03a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ts/addon.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export default addon({
185185
_addBabelPluginIfNotPresent(pluginName: string, pluginOptions?: AddPluginOptions) {
186186
let target = this._getConfigurationTarget();
187187
if (!hasPlugin(target, pluginName)) {
188-
addPlugin(target, pluginName, pluginOptions);
188+
addPlugin(target, require.resolve(pluginName), pluginOptions);
189189
}
190190
},
191191

0 commit comments

Comments
 (0)