Skip to content

fix(@angular-devkit/build-angular): avoid ES module assumption for vendor files#18291

Merged
filipesilva merged 1 commit intoangular:masterfrom
clydin:fix-es5-vendor
Jul 20, 2020
Merged

fix(@angular-devkit/build-angular): avoid ES module assumption for vendor files#18291
filipesilva merged 1 commit intoangular:masterfrom
clydin:fix-es5-vendor

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Jul 17, 2020

This change prevents import statements from being added to commonjs files when downleveling helpers are needed. These imports would then cause webpack to assume that the file is an ES module and potentially break the commonjs file.

Fixes #18284

…ndor files

This change prevents import statements from being added to commonjs files when downleveling helpers are needed.  These imports would then cause webpack to assume that the file is an ES module and potentially break the commonjs file.

Fixes angular#18284
@clydin clydin added the target: patch This PR is targeted for the next patch release label Jul 17, 2020
@clydin clydin requested a review from alan-agius4 July 17, 2020 23:08
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label Jul 17, 2020
@filipesilva filipesilva merged commit 993b2bd into angular:master Jul 20, 2020
@clydin clydin deleted the fix-es5-vendor branch July 20, 2020 11:45
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When serving es5 ngx-socket-io gives me error

4 participants