browserify / static-module

convert module usage to inline expressions
MIT License
74 stars 23 forks source link

Only parse a file if it contains a target module. #20

Closed hughsk closed 6 years ago

hughsk commented 7 years ago

This speeds up bundle times, and prevents syntax errors being raised prematurely – e.g. if JSX is being used in another part of the app, and the static-module transform is not necessary there.

Thanks! :)