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
build: import tslib rather than TS outputting #16901
Conversation
build.sh
Outdated
@@ -125,7 +125,7 @@ downlevelES2015() { | |||
cp ${file} ${ts_file} | |||
|
|||
echo "====== $TSC ${ts_file} --target es5 --module es2015 --noLib" | |||
($TSC ${ts_file} --target es5 --module es2015 --noLib --sourceMap) > /dev/null 2>&1 || true | |||
($TSC ${ts_file} --target es5 --module es2015 --noLib --sourceMap --noEmitHelpers --importHelpers) > /dev/null 2>&1 || true |
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.
can you drop noEmitHelpers
? in my testing it seems to be implied by importHelpers
'rxjs/Subject': 'Rx', | ||
} | ||
plugins: [resolve()], | ||
external: Object.keys(globals), |
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.
I'm not sure if that's correct. AFAICT, it should be ['@angular/core', 'rxjs']
. Unfortunately, I haven't been able to run the angular build, so I couldn't verify the change yet.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.