DEV: Support legacy precompiler paths in theme compiler (#24329)

This updates the behaviour to match ember-cli-htmlbars, and should take care of the handful of themes which were relying on runtime compilation in tests (see 4425e99bf9)
This commit is contained in:
David Taylor 2023-11-10 10:37:50 +00:00 committed by GitHub
parent ab832cc865
commit 80208d0ab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,11 @@ function buildTemplateCompilerBabelPlugins({ extension, themeId }) {
HTMLBarsInlinePrecompile, HTMLBarsInlinePrecompile,
{ {
compiler, compiler,
enableLegacyModules: ["ember-cli-htmlbars"], enableLegacyModules: [
"ember-cli-htmlbars",
"ember-cli-htmlbars-inline-precompile",
"htmlbars-inline-precompile",
],
}, },
], ],
]; ];