rollup-config-iiimaddiniii

0.2.4 • Public • Published

Rollup Config

Configuration through the package.json file in the current directory. If the environment variable prod == true the package is compiled/bundled for production.

Currently the following fields are read from the package.json:

  • type: if missing both types will be emitted
  • exports.*: used to create the bundles ("." => index.js/ts)
  • dependencies.*: to declare them external when needed
  • devDependencies.*: to make sure no dev dependencies are imported
  • rollup:
    • doNotGenerateDeclarationInProduction: bool = it is descriptive
    • packageDependencies: bool = package dependencies
    • inlineSourceMaps: bool = if sourceMaps should be inline
    • externalPackages: string[] = a list of additional packages wich should not be bundled

Readme

Keywords

none

Package Sidebar

Install

npm i rollup-config-iiimaddiniii

Weekly Downloads

0

Version

0.2.4

License

MIT

Unpacked Size

633 kB

Total Files

17

Last publish

Collaborators

  • iiimaddiniii