@gitzone/tsbundle
a bundler using rollup for painless bundling of web projects
Last updated 10 days ago by lossless .
MIT · Original npm · Tarball · package.json
$ cnpm install @gitzone/tsbundle 
SYNC missed versions from official npm registry.

@gitzone/tsbundle

a bundler using rollup for painless bundling of web projects

Availabililty and Links

Status for master

pipeline status coverage report npm downloads per month Known Vulnerabilities TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class intellisense.

tsbundle will bundle modern JavaScript websites in an Google Bot conformant way so things like AdSense do work.

tsbundle supports two modes of usage: CLI and API usage.

CLI

# Note: This is code that belongs into your terminal ;)
# Install the tool for cli usage

# Globally
npm install -g @gitzone/tsbundle

# Locally for use in your pacakge.json
npm install --save-dev @gitzone/tsbundle

# then use it
tsbundle --from="./ts/index.ts" --to="dist/bundle.js"

## note you can call tsbundle without arguments. Default values are --from="./ts_web/index.ts" --to="dist_bundle/bundle.js"
## You can use --production to enable minification using terser

API

You are using TypeScript, aren't you? Most of the stuff is apparent from the IDE intellisense.

import { TsBundle } from '@gitozne/tsbundle';

const myTsBundleInstance = new TsBundle();

const run = async () => {
  await myTsBundleInstance.buildTest('./from/my.ts', './to/mybundle.js')
  // OR
  await myTsBundleInstance.buildProduction('./from/my.ts', './to/mybundle.js')
}

Contribution

We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can contribute one time or contribute monthly. :)

For further information read the linked docs at the top of this readme.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer

Current Tags

  • 1.0.69                                ...           latest (10 days ago)

59 Versions

  • 1.0.69                                ...           10 days ago
  • 1.0.68                                ...           10 days ago
  • 1.0.67                                ...           10 days ago
  • 1.0.66                                ...           10 days ago
  • 1.0.65                                ...           10 days ago
  • 1.0.64                                ...           10 days ago
  • 1.0.63                                ...           a month ago
  • 1.0.62                                ...           3 months ago
  • 1.0.61                                ...           3 months ago
  • 1.0.60                                ...           3 months ago
  • 1.0.59                                ...           3 months ago
  • 1.0.57                                ...           3 months ago
  • 1.0.56                                ...           3 months ago
  • 1.0.55                                ...           3 months ago
  • 1.0.54                                ...           3 months ago
  • 1.0.53                                ...           3 months ago
  • 1.0.52                                ...           3 months ago
  • 1.0.51                                ...           3 months ago
  • 1.0.50                                ...           3 months ago
  • 1.0.49                                ...           3 months ago
  • 1.0.47                                ...           8 months ago
  • 1.0.46                                ...           8 months ago
  • 1.0.45                                ...           8 months ago
  • 1.0.44                                ...           8 months ago
  • 1.0.43                                ...           8 months ago
  • 1.0.40                                ...           9 months ago
  • 1.0.39                                ...           9 months ago
  • 1.0.38                                ...           9 months ago
  • 1.0.37                                ...           a year ago
  • 1.0.36                                ...           a year ago
  • 1.0.35                                ...           a year ago
  • 1.0.34                                ...           a year ago
  • 1.0.33                                ...           a year ago
  • 1.0.32                                ...           a year ago
  • 1.0.31                                ...           a year ago
  • 1.0.27                                ...           a year ago
  • 1.0.26                                ...           a year ago
  • 1.0.25                                ...           a year ago
  • 1.0.24                                ...           a year ago
  • 1.0.22                                ...           a year ago
  • 1.0.21                                ...           a year ago
  • 1.0.20                                ...           a year ago
  • 1.0.19                                ...           a year ago
  • 1.0.18                                ...           a year ago
  • 1.0.17                                ...           a year ago
  • 1.0.16                                ...           a year ago
  • 1.0.15                                ...           a year ago
  • 1.0.14                                ...           a year ago
  • 1.0.12                                ...           a year ago
  • 1.0.11                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago

Copyright 2014 - 2016 © taobao.org |