This extension support multi mix configration without overwriting the mix-manifest.json file
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
index.js v0.1.1 Apr 5, 2018
package.json 0.1.2 Jan 9, 2019

README.md

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();