Skip to content

Commit

Permalink
v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
KABBOUCHI committed Apr 5, 2018
1 parent 0019c8e commit fc6da4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ mix.extend('mergeManifest', (config) => {
compiler.plugin('emit', (curCompiler, callback) => {
let stats = curCompiler.getStats().toJson();

Mix.manifest.manifest = merge(Mix.manifest.read(), Mix.manifest.manifest);
try {
Mix.manifest.manifest = merge(Mix.manifest.read(), Mix.manifest.manifest);
} catch (e) {

}

Mix.manifest.transform(stats).refresh();
callback();
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{
"name": "laravel-mix-merge-manifest",
"version": "0.1.0",
"version": "0.1.1",
"description": "A quick Laravel Mix extension to support multi mix configration without overwriting the mix-manifest.json file.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit fc6da4c

Please sign in to comment.