-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downstreamed changes from @embroider/[email protected] #71
Conversation
[ | ||
"module:decorator-transforms", | ||
{ | ||
"runtime": { | ||
"import": "decorator-transforms/runtime" | ||
} | ||
} | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -2,6 +2,7 @@ | |||
// These will *not* be published as part of your addon, so be careful that your published code does not rely on them! | |||
<% if (options.packages.addon.hasGlint) { %> | |||
import '@glint/environment-ember-loose'; | |||
// import '@glint/environment-ember-template-imports'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
embroider-build/addon-blueprint#218
At the moment, the codemod doesn't check if @glint/environment-ember-template-imports
(optional) is installed. Rather than omitting the line, I opted to comment the line.
@@ -21,6 +21,7 @@ function setCompilerOptions( | |||
compilerOptions.set('allowImportingTsExtensions', true); | |||
compilerOptions.set('allowJs', true); | |||
compilerOptions.set('declarationDir', 'declarations'); | |||
compilerOptions.set('rootDir', './src'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What changed?
decorator-transforms
latestVersions
I tested the changes on a couple of addons: