Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Feature Preprocessor #622
Feature Preprocessor #622
Conversation
d087375
to
d1887a7
add example which is implemented using es6
d1887a7
to
93cbe4f
93cbe4f
to
2ef0485
The process was not exited when using clusters. Manually exit process when all childs has been closed.
Hello,
The idea is to allow the usage of preprocessors similar to webpack. There you can use different loaders to preprocess your files.
General
With this PR you can define preprocessors in the pkg config in the package json. This can be used e.g. to compile your es6, typescript or flow code before it gets bundled into the binary. The advantage is that you dont need any precompile step.
Advantages for Lerna Mono Repos
You dont have to compile every package in a lerna mono repo. This packages can just link to the es6 (or flow or typescript) code.
That is just one use case for a preprocessor. There are more opportunities like minification.
Best regards
Daniel