property
TrimOptions.remove
remove?: TrimFeature[]
Features to remove even if your code uses them.
Every import, global and property is still there, so typeof and in answer as before. A call throws an Error whose code is "ERR_FEATURE_REMOVED". Use it to make sure that an executable can't do something, such as load native code: remove: ["native-code"].
A name can't be in both allow and remove.