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

Feature exclude #37

Merged
merged 1 commit into from
Sep 20, 2018
Merged

Feature exclude #37

merged 1 commit into from
Sep 20, 2018

Conversation

nicoabie
Copy link

Add ability to exclude certain default features by prefixing them with an exclamation mark

Example if the user do not want to show the context menu but do want the other default features.

new MonacoWebpackPlugin({features: ['!contextmenu']})

User is able to specify N features to be excluded.

If excluded and included features are present (not all features are prefixed with !), the included features will be ignored an only the excluded ones will be computed.

@msftclas
Copy link

msftclas commented Sep 13, 2018

CLA assistant check
All CLA requirements met.

@alexdima
Copy link
Member

👍 Thank you!

@alexdima alexdima merged commit 1bd93df into microsoft:master Sep 20, 2018
@nicoabie nicoabie deleted the exclude-features branch September 20, 2018 13:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants