2.1.0 • Published 1 year ago

@packmule/entry-pack v2.1.0

Weekly downloads
510
License
MIT
Repository
github
Last release
1 year ago

Entry Pack

Define an entry point for webpack.

Entry Pack configures the actual entry point for the bundle and can be used multiple times to define multiple entry points.

Setup

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

API

EntryPack(path: string, name?: string)

Options

  • root - Used to build an absolute path of the configured entry file path.

Usage

Example

Set single entry point and generate an app bundle.

import Packmule from '@packmule/core';
import EntryPack from '@packmule/entry-pack';

const packmule = new Packmule();
packmule.register(new EntryPack('assets/entry.ts', 'app'));
return packmule.generate();

Example

Set multiple entrypoints and generate a one and a two bundle.

import Packmule from '@packmule/core';
import EntryPack from '@packmule/entry-pack';

const packmule = new Packmule();
packmule.register(new EntryPack('assets/one.ts'));
packmule.register(new EntryPack('assets/two.ts'));
return packmule.generate();

License

MIT


2.1.1-next.0

1 year ago

2.1.1-nightly.0

1 year ago

2.0.1-next.569

1 year ago

2.1.0

1 year ago

2.0.1-next.570

1 year ago

2.0.1-next.567

1 year ago

2.0.1-next.568

1 year ago

2.0.1-next.563

1 year ago

2.0.1-next.562

1 year ago

2.0.1-next.565

1 year ago

2.0.1-next.564

1 year ago

2.0.1-next.534

2 years ago

2.0.1-next.535

2 years ago

2.0.1-next.532

2 years ago

2.0.1-next.531

2 years ago

2.0.1-next.529

2 years ago

2.0.1-next.523

2 years ago

2.0.1-next.525

2 years ago

2.0.1-rc.525

2 years ago

2.0.1-next.522

2 years ago

2.0.1-next.521

2 years ago

2.0.1-next.520

2 years ago

2.0.1-next.515

2 years ago

2.0.1-next.519

2 years ago

2.0.1-next.514

3 years ago

2.0.1-next.513

3 years ago

2.0.1-next.509

3 years ago

2.0.1-next.512

3 years ago

2.0.1-next.511

3 years ago

2.0.1-next.510

3 years ago

2.0.1-next.508

3 years ago

2.0.1-next.507

3 years ago

2.0.1-next.505

3 years ago

2.0.1-next.506

3 years ago

2.0.1-next.504

3 years ago

2.0.1-next.503

3 years ago

2.0.1-next.501

3 years ago

2.0.1-next.495

3 years ago

2.0.1-next.494

3 years ago

2.0.1-next.497

3 years ago

2.0.1-next.498

3 years ago

2.0.1-next.500

3 years ago

2.0.1-nightly.0

3 years ago

2.0.1-next.489

3 years ago

2.0.1-next.0

3 years ago

2.0.1-next.490

3 years ago

2.0.1-next.469

3 years ago

2.0.1-next.466

3 years ago

2.0.1-next.470

3 years ago

2.0.1-next.472

3 years ago

2.0.1-next.459

3 years ago

2.0.1-next.457

3 years ago

2.0.1-next.458

3 years ago

2.0.1-next.450

3 years ago

2.0.1-next.438

3 years ago

2.0.1-next.446

3 years ago

2.0.1-next.448

3 years ago

2.0.1-next.447

3 years ago

2.0.1-next.449

3 years ago

2.0.1-next.437

3 years ago

2.0.1-next.436

3 years ago

2.0.1-next.435

3 years ago

2.0.1-next.434

3 years ago

2.0.1-next.433

3 years ago

2.0.1-next.432

3 years ago

2.0.1-next.431

4 years ago

2.0.1-next.429

4 years ago

2.0.1-next.430

4 years ago

2.0.1-next.428

4 years ago

2.0.1-next.427

4 years ago

2.0.1-next.426

4 years ago

2.0.1-next.425

4 years ago

2.0.1-next.424

4 years ago

2.0.1-next.417

4 years ago

2.0.1-next.418

4 years ago

2.0.1-next.416

4 years ago

2.0.1-next.415

4 years ago

2.0.1-next.413

4 years ago

2.0.1-next.414

4 years ago

2.0.1-next.412

4 years ago

2.0.1-next.411

4 years ago

2.0.1-next.410

4 years ago

2.0.1-next.409

4 years ago

2.0.1-next.408

4 years ago

2.0.1-next.407

4 years ago

2.0.1-next.406

4 years ago

2.0.1-next.404

4 years ago

2.0.1-next.405

4 years ago

2.0.1-next.403

4 years ago

2.0.1-next.402

4 years ago