Skip to content

More fixes for proper babel plugin deduplication.#324

Merged
rwjblue merged 1 commit intoember-cli:masterfrom
rwjblue:more-deduplication-fixes
Oct 4, 2019
Merged

More fixes for proper babel plugin deduplication.#324
rwjblue merged 1 commit intoember-cli:masterfrom
rwjblue:more-deduplication-fixes

Conversation

@rwjblue
Copy link
Member

@rwjblue rwjblue commented Oct 4, 2019

Ensure that the actual output used by the included hook when parallelizable returns true for isInlinePrecompileBabelPluginRegistered. Previously, we had a mismatch between path.join(__dirname, 'require-from-worker') and require.resolve('./require-from-worker') because require.resolve
includes the extension.

Closes #297 (again)

Ensure that the actual output used by the `included` hook when
parallelizable returns `true` for
`isInlinePrecompileBabelPluginRegistered`. Previously, we had a mismatch
between `path.join(__dirname, 'require-from-worker')` and
`require.resolve('./require-from-worker')` because `require.resolve`
includes the extension.
@rwjblue rwjblue added the bug label Oct 4, 2019
@rwjblue rwjblue mentioned this pull request Oct 4, 2019
@rwjblue rwjblue merged commit edeb553 into ember-cli:master Oct 4, 2019
@rwjblue rwjblue deleted the more-deduplication-fixes branch October 4, 2019 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Babel Plugin Error

1 participant