mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 11:13:38 +08:00
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:
parent
ab832cc865
commit
80208d0ab6
|
@ -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",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user