Skip to content

Commit 3dff1f9

Browse files
authored
Merge pull request #99 from emberjs/avoid-leaking-real-filename-path-in-output-due-to-moduleName
avoid leaking real filename path in output due to moduleName
2 parents 10190fa + 851454e commit 3dff1f9

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/plugin.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -405,14 +405,7 @@ function buildPrecompileOptions<EnvSpecificOptions>(
405405
// don't account for extension
406406
meta: meta as PreprocessOptions['meta'],
407407

408-
// TODO: embroider's template-compiler allows this to be overriden to get
409-
// backward-compatible module names that don't match the real name of the
410-
// on-disk file. What's our plan for migrating people away from that?
411-
moduleName: state.filename,
412-
413-
// This is here so it's *always* the real filename. Historically, there is
414-
// also `moduleName` but that did not match the real on-disk filename, it
415-
// was the notional runtime module name from classic ember builds.
408+
// This is here so it's *always* the real filename.
416409
filename: state.filename,
417410

418411
plugins: {

0 commit comments

Comments
 (0)