1.0.3 • Published 3 years ago

laravel-mix-zip v1.0.3

Weekly downloads
14
License
MIT
Repository
github
Last release
3 years ago

Laravel Mix Zip

Latest Version on NPM Software License Total Downloads

This extension allows you to automatically zip files after mix finishes running.

Please make sure that you are using laravel-mix version 4.0 or higher.

Usage

You can install the package with npm or yarn:

npm install laravel-mix-zip --save-dev
yarn add laravel-mix-zip --dev

Then require the extension in your Mix configuration:

const mix = require('laravel-mix');

require('laravel-mix-zip');
...

Enable the extension by calling .zip() at the end of your Mix chain:

mix.sass('resources/sass/app.scss', 'public/css').zip(['app'], ['composer.json'], 'deploy.zip');

Zips the app folder and composer.json file to deploy.zip

License

The MIT License (MIT). Please see License File for more information.

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago