-
Notifications
You must be signed in to change notification settings - Fork 12k
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
fix(build): fix broken sourcemaps #839
Conversation
@@ -7,11 +7,11 @@ module.exports = function(defaults) { | |||
vendorNpmFiles: [ | |||
'systemjs/dist/system-polyfills.js', | |||
'systemjs/dist/system.src.js', | |||
'zone.js/dist/*.js', | |||
'zone.js/dist/**/*.*', |
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.
Why copy all files?
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.
Thought it would be better because of the sourcemaps. Maybe copying js
and js.map
might be enough though.
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.
fixed
3aab95e
to
2376a68
Compare
@hansl can you review again please? |
Okay that makes more sense :) LGTM. |
Can a release get cut with this change so people not running on master can get it? |
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. |
The latest version of SystemJS fixed their support for sourcemaps, which caused our production builds to fail since our source maps weren't being generated/copied properly down the build pipeline.
This PR fixes that. Also closes #829.