1.0.2 • Published 11 months ago

zip-quasar-build v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Zip Quasar Build

Zip the quasar build folder

Installation

With NPM

npm install --save-dev zip-quasar-build

With Yarn

yarn add -D zip-quasar-build

Usage

At the beginning of the quasar.conf file import the library

const { zipQuasarBuild } = require("zip-quasar-build");

The zipQuasarBuild function accepts 3 parameters; path of the folder to compress, zip name and quasar mode.

la función zipQuasarBuild debe ser agregada dentro del parametro afterBuild que se encuentra dentro de build en el objeto de configuración de quasar.conf.

Example:

afterBuild({ quasarConf }) {
  zipQuasarBuild(quasarConf.build.distDir, 'zip-name', quasarConf.ctx.modeName)
}

After performing a build the zipQuasarBuild function will compress the folder and open a window where the folder was compressed.

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago