Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Remove another require call #49

Merged
merged 1 commit into from Dec 17, 2019
Merged

Conversation

ecraig12345
Copy link
Member

Update the import-typescript script to remove a new require call from typescriptServices.js, which was breaking webpack builds (see microsoft/monaco-editor#1623 - though they were incorrect about it being a plugin issue).

To prevent similar issues from reaching users in the future, I added logic in the import script to look for additional (uncommented) require calls and report an error if it finds one. That way the break can be detected and fixed at the time the TS version is being bumped.

@alexdima
Copy link
Member

Great! Thank you! ❤️

@alexdima alexdima added this to the December 2019 milestone Dec 17, 2019
@alexdima alexdima merged commit 40dcf9d into microsoft:master Dec 17, 2019
@ecraig12345 ecraig12345 deleted the remove-require branch January 4, 2020 03:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants