Merge Manifest

A quick Laravel Mix extension to support multi mix configration without overwriting the mix-manifest.json file.
latest v0.1.2 - released 3 hours ago
kabbouchi
922 downloads last week
MIT license
3 versions
multi
manifest

Laravel Mix - Merge Manifest

This extension support multi mix configration without overwriting the mix-manifest.json file.

Usage

First, install the extension.

npm install laravel-mix-merge-manifest --save-dev

Then, require it within your webpack.mix.js file, like so:

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

require('laravel-mix-merge-manifest');

mix
    .js('resources/assets/js/app.js', 'public/js')
    .less('resources/assets/less/app.less', 'public/css')
    .mergeManifest();