laravel-mix-merge-manifest-mycareer
v1.0.3
Published
A quick Laravel Mix extension to support multi mix configration without overwriting the mix-manifest.json file.
Downloads
5
Maintainers
Readme
Laravel Mix - Merge Manifest MyCareer
This extension supports multi mix configration without overwriting the mix-manifest.json file. It merges new manifests into the existing one.
Usage
First, install the extension.
// Laravel Mix v5
npm install laravel-mix-merge-manifest-mycareer@v1 --save-dev
Then, require it within your webpack.mix.js
file, like so:
let mix = require('laravel-mix');
require('laravel-mix-merge-manifest-mycareer');
mix
.js('resources/assets/js/app.js', 'public/js')
.less('resources/assets/less/app.less', 'public/css')
.mergeManifest();
or
let mix = require('laravel-mix');
require('laravel-mix-merge-manifest-mycareer');
mix
.js('resources/assets/js/app.js', 'public/js')
.less('resources/assets/less/app.less', 'public/css')
.mergeManifest('new-manifest');