Make sure the inliner executes on exit, so that all the changes that have happened with intermediate syntax (e.g. JSX) and values (e.g. other plugins) are fully set.
Also, when a require gets redefined, avoid inlining it. This can legitimately happen when using generic helpers like emptyObject or emptyFunction.
Make sure the inliner executes on exit, so that all the changes that have happened with intermediate syntax (e.g. JSX) and values (e.g. other plugins) are fully set.
Also, when a
require
gets redefined, avoid inlining it. This can legitimately happen when using generic helpers likeemptyObject
oremptyFunction
.