Friday, 5 May 2017

Preserve jsdoc after compiling with webpack

I'm writing a node.js package in es6 and I'm using webpack + babel to compile / transpile it so it can run in older node versions.

My concern is that after compiling, the JSDoc comments are gone from the output files. How can I tell Webpack to preserve documentation?



via javorosas

No comments:

Post a Comment