Socket
Socket
Sign inDemoInstall

@wemap/rollup-plugin-arraybuffer

Package Overview
Dependencies
3
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @wemap/rollup-plugin-arraybuffer

Rollup plugin for arraybuffer


Version published
Weekly downloads
6
Maintainers
1
Install size
191 kB
Created
Weekly downloads
 

Readme

Source

npm size

@wemap/rollup-plugin-arraybuffer

🍣 A Rollup plugin which convert a binary file to a Uint8Array

Install

Using npm:

npm install @wemap/rollup-plugin-arraybuffer --save-dev

Usage

import arraybuffer from '@wemap/rollup-plugin-arraybuffer';

export default {
  input: 'src/index.js',
  output: {
    dir: 'output',
    format: 'cjs'
  },
  plugins: [arraybuffer({ include: '**/*.glb' })]
};

Options

exclude

Type: String | Array[...String]
Default: null

A minimatch pattern, or array of patterns, which specifies the files in the build the plugin should ignore. By default no files are ignored.

include

Type: String | Array[...String]
Default: null

Keywords

FAQs

Last updated on 15 Apr 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc