Skip to content

Latest commit

 

History

History
 
 

loader-configuration-nodejs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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