@packmule/javascript-pack
Packmule pack to process JavaScript files.
Last updated 8 months ago by thasmo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @packmule/javascript-pack 
SYNC missed versions from official npm registry.

JavaScript Pack

Transpile JavaScript using Babel.

Internally the JavaScript Pack uses Babel to transpile the code if needed. To configure Babel settings in your project, a .babelrc.json file can be used. Linting code via ESLint can be utilized by creating an .eslintrc file.

Setup

npm install --save-dev @packmule/javascript-pack @babel/core eslint

API

JavaScriptPack()
    .include(glob: string)

Options

  • cache - Controls cache utilization of the babel-loader.
  • lint - Controls source-code linting via eslint-loader.
  • fix - Controls source-code fixing via eslint-loader.

Usage

Example

Process JavaScript code.

import Packmule from '@packmule/core';
import JavascriptPack from '@packmule/javascript-pack';

const packmule = new Packmule();
packmule.register(new JavaScriptPack());
return packmule.generate();

License

MIT


Current Tags

  • 2.0.1-nightly.242                                ...           latest (8 months ago)
  • 2.0.1-nightly.389                                ...           nightly (17 hours ago)

47 Versions

  • 2.0.1-nightly.389                                ...           17 hours ago
  • 2.0.1-nightly.388                                ...           2 days ago
  • 2.0.1-nightly.387                                ...           9 days ago
  • 2.0.1-nightly.386                                ...           18 days ago
  • 2.0.1-nightly.375                                ...           25 days ago
  • 2.0.1-nightly.373                                ...           a month ago
  • 2.0.1-nightly.372                                ...           a month ago
  • 2.0.1-nightly.371                                ...           a month ago
  • 2.0.1-nightly.370                                ...           2 months ago
  • 2.0.1-nightly.369                                ...           2 months ago
  • 2.0.1-nightly.368                                ...           2 months ago
  • 2.0.1-nightly.364                                ...           2 months ago
  • 2.0.1-nightly.363                                ...           2 months ago
  • 2.0.1-nightly.362                                ...           2 months ago
  • 2.0.1-nightly.360                                ...           2 months ago
  • 2.0.1-nightly.358                                ...           2 months ago
  • 2.0.1-nightly.357                                ...           3 months ago
  • 2.0.1-nightly.355                                ...           4 months ago
  • 2.0.1-nightly.353                                ...           4 months ago
  • 2.0.1-nightly.352                                ...           4 months ago
  • 2.0.1-nightly.346                                ...           5 months ago
  • 2.0.1-nightly.342                                ...           5 months ago
  • 2.0.1-nightly.341                                ...           5 months ago
  • 2.0.1-nightly.339                                ...           6 months ago
  • 2.0.1-nightly.328                                ...           6 months ago
  • 2.0.1-nightly.327                                ...           6 months ago
  • 2.0.1-nightly.325                                ...           6 months ago
  • 2.0.1-nightly.316                                ...           7 months ago
  • 2.0.1-nightly.314                                ...           7 months ago
  • 2.0.1-nightly.310                                ...           7 months ago
  • 2.0.1-nightly.301                                ...           7 months ago
  • 2.0.1-nightly.300                                ...           7 months ago
  • 2.0.1-nightly.295                                ...           7 months ago
  • 2.0.1-nightly.293                                ...           7 months ago
  • 2.0.1-nightly.287                                ...           7 months ago
  • 2.0.1-nightly.286                                ...           7 months ago
  • 2.0.1-nightly.283                                ...           7 months ago
  • 2.0.1-nightly.281                                ...           8 months ago
  • 2.0.1-nightly.280                                ...           8 months ago
  • 2.0.1-nightly.271                                ...           8 months ago
  • 2.0.1-nightly.263                                ...           8 months ago
  • 2.0.1-nightly.257                                ...           8 months ago
  • 2.0.1-nightly.255                                ...           8 months ago
  • 2.0.1-nightly.253                                ...           8 months ago
  • 2.0.1-nightly.251                                ...           8 months ago
  • 2.0.1-nightly.247                                ...           8 months ago
  • 2.0.1-nightly.242                                ...           8 months ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 8
Last Week 20
Last Month 72
Dependencies (5)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |