Skip to content

Commit 1f79c89

Browse files
author
Robert Jackson
committed
Fix issue with deduplcation of babel plugin when parallelized
1 parent 647d675 commit 1f79c89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function isInlinePrecompileBabelPluginRegistered(plugins) {
2323
plugin._parallelBabel !== undefined
2424
) {
2525
return (
26-
plugin._parallelBabel.requireFile === path.resolve(__dirname, 'lib/require-from-worker') &&
26+
plugin._parallelBabel.requireFile === require.resolve('./require-from-worker') &&
2727
typeof plugin._parallelBabel.params === 'object' &&
2828
typeof plugin._parallelBabel.params.modules === 'object' &&
2929
plugin._parallelBabel.params.modules['ember-cli-htmlbars'] === 'hbs'

0 commit comments

Comments
 (0)