@pandino/loader-configuration-nodejs
v0.8.31
Published
Bundle loading configuration for NodeJS
Downloads
7
Readme
loader-configuration-nodejs
This package is a first-party default Pandino loader configuration.
Usage
Obtain the library from a CDN or NPM (@pandino/loader-configuration-nodejs
). Import it, and provide it to the Pandino
constructor argument.
import loaderConfiguration from '@pandino/loader-configuration-nodejs';
import Pandino from '@pandino/pandino';
const pandino = new Pandino({
...loaderConfiguration,
'pandino.deployment.root': MY_DEPLOY_ROOT,
// other properties may go here
});
await pandino.init();
await pandino.start();
License
Eclipse Public License - v 2.0