1.0.1 • Published 3 years ago

zbale v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

zbale

A lightweight compression tool

Install

npm install zbale -g

Quick Start

Create a bale.config.js in your project directory

const path = require('path');

module.exports = {
  // files to ignore
  exclude: ['.git', 'node_modules', '.DS_STORE', 'package-lock.json', 'bale.config.js'],
  output: {
    path: path.resolve(__dirname, '..'),
    // 'name' will be replaced with the 'name' in package.json, 'version' is the same
    filename: '[name]-[version]',
  },
}

Then, Execute command, the packaged file will be saved in output.path which you configured

zbale