Miss any of our Open RFC calls?Watch the recordings here! »

@packmule/chunk-pack

2.0.1-nightly.242 • Public • Published

Chunk Pack

Split code into chunks using the split-chunks plugin.

Setup

npm install --save-dev @packmule/chunk-pack

API

ChunkPack(name: string)

Usage

Example

Generate a chunk file for all node dependencies.

import Packmule from '@packmule/core';
import ChunkPack from '@packmule/chunk-pack';
 
const packmule = new Packmule();
packmule.register(new ChunkPack('vendor').include('**/node_modules/**'));
return packmule.generate();

License

MIT


Install

npm i @packmule/chunk-pack

DownloadsWeekly Downloads

175

Version

2.0.1-nightly.242

License

MIT

Unpacked Size

6.67 kB

Total Files

11

Last publish

Collaborators

  • avatar
  • avatar