New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pixi-build-tools/rollup-configurator

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi-build-tools/rollup-configurator

Opinionated rollup configuration for PixiJS libraries

  • 1.0.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-57.14%
Maintainers
1
Weekly downloads
 
Created
Source

@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:

FieldRecommendedDescription
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
namespaceConfigure your package's global/namespace, i.e. how applications will access. For example, the namespace of pixi.js is PIXI
bundleInputAlternative entry point for UMD bundles (other than `src/index.(ts
bundleOutputUsed to configure the Rollup output for UMD bundles
bundleNoExportEnable if your package does not export anything (for example, mixins)
standaloneBundle all your dependencies in the UMD output

Keywords

FAQs

Package last updated on 11 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc