canner-bundle-script
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

canner-bundle-script

Bundle up Canner scripts.

Install

npm install canner-bundle-script

Usage

const cannerBundle = require('canner-bundle-script');
 
const bundle = cannerBundle({
  schema: "<absolute path to schema>",
  resolver: "<absolute path to resolver>",
  connector: "<absolute path to connector>"
})
.then(bundlePaths => {
  // your bundle code paths
  // `path` might be more than one, because we are using dynamic loader in webpack.
})
 
// bundle
// {
//   schema: schemaObject,
//   reolver: resolverObject,
//   connector: connectorObject
// }
 

Output

bundle.js

export umd library name cannerBundle.

get window.cannerBundle from your browser.

custom-style.css

This is a customized antd style.

/canner-bundle-script/

    Package Sidebar

    Install

    npm i canner-bundle-script

    Weekly Downloads

    13

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    23 kB

    Total Files

    4

    Last publish

    Collaborators

    • abz53378
    • chilijung
    • wwwy3y3