From 851454e269ae37fb53cd00b3eeff01db2cc6c3f4 Mon Sep 17 00:00:00 2001 From: void_malex Date: Wed, 2 Jul 2025 23:36:38 +0100 Subject: [PATCH] with template tag syntax moduleName no longer has an accurate representation related to a file removing this and making consumers rely on call site invocation name is a better strategy going forward --- src/plugin.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/plugin.ts b/src/plugin.ts index cb9e5e4..809c9f1 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -405,14 +405,7 @@ function buildPrecompileOptions( // don't account for extension meta: meta as PreprocessOptions['meta'], - // TODO: embroider's template-compiler allows this to be overriden to get - // backward-compatible module names that don't match the real name of the - // on-disk file. What's our plan for migrating people away from that? - moduleName: state.filename, - - // This is here so it's *always* the real filename. Historically, there is - // also `moduleName` but that did not match the real on-disk filename, it - // was the notional runtime module name from classic ember builds. + // This is here so it's *always* the real filename. filename: state.filename, plugins: {