0.0.4 • Published 6 years ago

@yarus/bundler v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

Yarus/bundler

A simple and lightweight tool for bundle NPM packages

{
    "name": "mypackage",
    "bin": {
        "cliname": "bin/mycli"
    },
    "type": "module",
    "modules.root": "lib",
    "types": "lib/index.d.ts",
    "main": "lib/index.js",
    "module": "lib/index.mjs",
    "unpkg": "public/mypackage.umd.min.js",
    "browser": "public/mypackage.min.mjs"
}
src/cli/{cliname}/index.{jsx?|mjs|tsx?}
src/cli/{cliname}.{jsx?|mjs|tsx?}
src/{cliname}/index.{jsx?|mjs|tsx?}
src/{cliname}.{jsx?|mjs|tsx?}
src/cli/index.{jsx?|mjs|tsx?}
src/cli.{jsx?|mjs|tsx?}

for main and module

src/server/index.{jsx?|mjs|tsx?}
src/server.{jsx?|mjs|tsx?}
src/node/index.{jsx?|mjs|tsx?}
src/node.{jsx?|mjs|tsx?}
src/index.{jsx?|mjs|tsx?}

for unpkg and browser

src/client/index.{jsx?|mjs|tsx?}
src/client.{jsx?|mjs|tsx?}
src/browser/index.{jsx?|mjs|tsx?}
src/browser.{jsx?|mjs|tsx?}
src/index.{jsx?|mjs|tsx?}