Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,14 +405,7 @@ function buildPrecompileOptions<EnvSpecificOptions>(
// 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: {
Expand Down