If you use the plugin @codecoupler/cc-webpack-externals-plugin
in your Webpack configuration
you can install with this package the NPM module node-json2html
and automatically configure this
as external library. The module will not be included in your library bundle.
Usage:
npm i @cc-external/node-json2html
The version number of this package matches the major and minor number of the module node-json2html
that is included as dependency. The patch number do not correspond to the module patch number.
In Version 2.2.3
you have to use import "json2html"
instead import "node-json2html"
. This was
a very bad idea. Please use import "node-json2html"
as mentioned in the official documentation.