@yarus/bundler
v0.0.4
Published
A simple and lightweight tool for bundle NPM packages
Downloads
5
Readme
[Yarus][https://github.com/yarus-app]/[bundler][https://github.com/yarus-app/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?}