@packmule/entry-pack
Packmule pack to configure Webpack entry files.
Last updated a year ago by thasmo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @packmule/entry-pack 
SYNC missed versions from official npm registry.

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


Current Tags

  • 2.0.1-nightly.242                                ...           latest (a year ago)
  • 2.0.1-next.426                                ...           next (a day ago)
  • 2.0.1-nightly.426                                ...           nightly (13 hours ago)

83 Versions

  • 2.0.1-nightly.426                                ...           13 hours ago
  • 2.0.1-next.426                                ...           a day ago
  • 2.0.1-next.425                                ...           a day ago
  • 2.0.1-nightly.424                                ...           2 days ago
  • 2.0.1-next.424                                ...           2 days ago
  • 2.0.1-next.418                                ...           4 days ago
  • 2.0.1-next.417                                ...           4 days ago
  • 2.0.1-nightly.416                                ...           8 days ago
  • 2.0.1-next.416                                ...           8 days ago
  • 2.0.1-nightly.415                                ...           9 days ago
  • 2.0.1-next.415                                ...           9 days ago
  • 2.0.1-next.414                                ...           9 days ago
  • 2.0.1-next.413                                ...           9 days ago
  • 2.0.1-next.412                                ...           9 days ago
  • 2.0.1-next.411                                ...           9 days ago
  • 2.0.1-nightly.410                                ...           a month ago
  • 2.0.1-next.410                                ...           a month ago
  • 2.0.1-nightly.409                                ...           a month ago
  • 2.0.1-next.409                                ...           a month ago
  • 2.0.1-nightly.408                                ...           a month ago
  • 2.0.1-next.408                                ...           a month ago
  • 2.0.1-nightly.407                                ...           2 months ago
  • 2.0.1-next.407                                ...           2 months ago
  • 2.0.1-nightly.406                                ...           2 months ago
  • 2.0.1-next.406                                ...           2 months ago
  • 2.0.1-nightly.405                                ...           2 months ago
  • 2.0.1-next.405                                ...           2 months ago
  • 2.0.1-next.404                                ...           2 months ago
  • 2.0.1-nightly.403                                ...           2 months ago
  • 2.0.1-next.403                                ...           2 months ago
  • 2.0.1-nightly.402                                ...           2 months ago
  • 2.0.1-next.402                                ...           2 months ago
  • 2.0.1-nightly.400                                ...           2 months ago
  • 2.0.1-nightly.395                                ...           3 months ago
  • 2.0.1-nightly.392                                ...           3 months ago
  • 2.0.1-nightly.391                                ...           3 months ago
  • 2.0.1-nightly.389                                ...           4 months ago
  • 2.0.1-nightly.388                                ...           4 months ago
  • 2.0.1-nightly.387                                ...           4 months ago
  • 2.0.1-nightly.386                                ...           4 months ago
  • 2.0.1-nightly.375                                ...           4 months ago
  • 2.0.1-nightly.373                                ...           5 months ago
  • 2.0.1-nightly.372                                ...           5 months ago
  • 2.0.1-nightly.371                                ...           5 months ago
  • 2.0.1-nightly.370                                ...           5 months ago
  • 2.0.1-nightly.369                                ...           5 months ago
  • 2.0.1-nightly.368                                ...           6 months ago
  • 2.0.1-nightly.364                                ...           6 months ago
  • 2.0.1-nightly.363                                ...           6 months ago
  • 2.0.1-nightly.362                                ...           6 months ago
  • 2.0.1-nightly.360                                ...           6 months ago
  • 2.0.1-nightly.358                                ...           6 months ago
  • 2.0.1-nightly.357                                ...           7 months ago
  • 2.0.1-nightly.355                                ...           7 months ago
  • 2.0.1-nightly.353                                ...           8 months ago
  • 2.0.1-nightly.352                                ...           8 months ago
  • 2.0.1-nightly.346                                ...           9 months ago
  • 2.0.1-nightly.342                                ...           9 months ago
  • 2.0.1-nightly.341                                ...           9 months ago
  • 2.0.1-nightly.339                                ...           9 months ago
  • 2.0.1-nightly.328                                ...           9 months ago
  • 2.0.1-nightly.327                                ...           10 months ago
  • 2.0.1-nightly.325                                ...           10 months ago
  • 2.0.1-nightly.316                                ...           10 months ago
  • 2.0.1-nightly.314                                ...           10 months ago
  • 2.0.1-nightly.310                                ...           10 months ago
  • 2.0.1-nightly.301                                ...           10 months ago
  • 2.0.1-nightly.300                                ...           a year ago
  • 2.0.1-nightly.295                                ...           a year ago
  • 2.0.1-nightly.293                                ...           a year ago
  • 2.0.1-nightly.287                                ...           a year ago
  • 2.0.1-nightly.286                                ...           a year ago
  • 2.0.1-nightly.283                                ...           a year ago
  • 2.0.1-nightly.281                                ...           a year ago
  • 2.0.1-nightly.280                                ...           a year ago
  • 2.0.1-nightly.271                                ...           a year ago
  • 2.0.1-nightly.263                                ...           a year ago
  • 2.0.1-nightly.257                                ...           a year ago
  • 2.0.1-nightly.255                                ...           a year ago
  • 2.0.1-nightly.253                                ...           a year ago
  • 2.0.1-nightly.251                                ...           a year ago
  • 2.0.1-nightly.247                                ...           a year ago
  • 2.0.1-nightly.242                                ...           a year ago
Maintainers (2)
Downloads
Today 20
This Week 66
This Month 143
Last Day 27
Last Week 77
Last Month 98
Dependencies (0)
None
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |