case classLibraryOnly(exportedName: String = ...) extends Library with Product with Serializable
Bundle only the libraries used by the application. This mode will generate an entrypoints file based
on the Scala.js imports and use that as the entrypoint for the generated webpack.config.js. The webpack
output will be a library, which will assign itself to a global variable when loaded.
The library file produce in this mode must be combined with the loader and the Scala.js output in order
to fully duplicate the usability of Application mode.
Bundle only the libraries used by the application. This mode will generate an
entrypointsfile based on the Scala.js imports and use that as the entrypoint for the generatedwebpack.config.js. The webpack output will be a library, which will assign itself to a global variable when loaded.The
libraryfile produce in this mode must be combined with theloaderand the Scala.js output in order to fully duplicate the usability of Application mode.Refer to Library for additional details.