Package detail

@pixi-build-tools/rollup-configurator

SukantPal19MIT1.0.14

Opinionated rollup configuration for PixiJS libraries

pixijs, rollup, pixify, rollup

readme

@pixi-build-tools/rollup-configurator

This package can be used directly as a Rollup configuration.

Installation :package:

npm install --dev @pixi-build-tools/rollup-configurator

Usage :page_facing_up:

as a Rollup configuration

rollup -c node_modules/\@pixi-build-tools/rollup-configurator/index.js

in your custom configuration

import { main } from '@pixi-build-tools/rollup-configurator/main';

Requirements

This package relies on your library's package.json manifest to configure the build process. By default, it will not include your package dependencies (and peer-dependencies) in the bundle; to prevent this, set standalone in your package.json.

The following table summarizes the fields you might need to fill:

Field Recommended Description
main :white_check_mark: Output path for CommonJS bundle
module :white_check_mark: Output path for ESM bundle
bundle :white_check_mark: Output path for UMD bundle. In production mode, will also produce a minified bundle with a .min.js extension
namespace Configure your package's global/namespace, i.e. how applications will access. For example, the namespace of pixi.js is PIXI
bundleInput Alternative entry point for UMD bundles (other than `src/index.(ts js)`)
bundleOutput Used to configure the Rollup output for UMD bundles
bundleNoExport Enable if your package does not export anything (for example, mixins)
standalone Bundle all your dependencies in the UMD output

changelog

Change Log - @pixi-build-tools/rollup-configurator

This log was last generated on Sun, 11 Apr 2021 17:58:37 GMT and should not be manually modified.

1.0.14

Sun, 11 Apr 2021 17:58:37 GMT

Patches

  • Fix syntax error in 1.0.13

1.0.13

Sun, 11 Apr 2021 17:48:14 GMT

Patches

  • Fix terser error in production build

1.0.12

Sun, 11 Apr 2021 17:27:01 GMT

Patches

  • Add excludedExternals option

1.0.11

Sun, 28 Feb 2021 01:51:19 GMT

Patches

  • Bump globals dependency

1.0.10

Sun, 31 Jan 2021 04:18:07 GMT

Patches

  • Bump globals dep

1.0.9

Sun, 31 Jan 2021 03:54:39 GMT

Patches

  • Bump @pixi-build-tools/globals dep

1.0.8

Sun, 31 Jan 2021 03:28:20 GMT

Patches

  • Upgrade to @pixi-build-tools/globals 1.0.3

1.0.7

Sat, 26 Dec 2020 23:56:39 GMT

Patches

  • Fix bug where sucrase would run on shaders.

1.0.6

Sat, 26 Dec 2020 23:49:38 GMT

Patches

  • Use @rollup/plugin-sucrase to trim typescript types.

1.0.5

Sun, 30 Aug 2020 20:40:18 GMT

Patches

  • This fixes crashes when a UMD bundle is used in a non-browser environment.

1.0.4

Tue, 25 Aug 2020 21:38:56 GMT

Patches

  • Add options to override CommonJS, ESM, and UMD bundle output locations

1.0.3

Sat, 22 Aug 2020 21:44:10 GMT

Patches

  • Don't use deprecated namedExports option for @rollup/plugin-commonjs.

1.0.2

Sat, 22 Aug 2020 21:36:36 GMT

Patches

  • Fix dependencies, peerDependencies not being excluded from CJS, ESM bundles

1.0.1

Sat, 22 Aug 2020 20:47:32 GMT

Patches

  • First release!