dragonnodejs-bundle-skeleton

Skeleton for a bundle with the DragonNode.js Framework

Usage no npm install needed!

<script type="module">
  import dragonnodejsBundleSkeleton from 'https://cdn.skypack.dev/dragonnodejs-bundle-skeleton';
</script>

README

DragonNode.js Bundle Skeleton

Skeleton for a bundle with the DragonNode.js Framework

Installation

  • Add bundle to the "package.json":
{
  "dependencies": {
    "dragonnodejs-bundle-skeleton": "^1.0.1"
  }
}
  • Run "npm install"
  • Extend the configuration in "app.js":
let config = {
    directory: __dirname + '/',
    modules: [
        [require('dragonnodejs-bundle-skeleton'), [
            ['modules/example', {}]
        ]]
    ]
};
require('dragonnodejs')(config);