[Elixir] version() not working on multiple combined script

Posted 4 years ago by SergioGregorutti

Hi,

I have a problem with Exilir. The version() method is not working when I try to version a file that was created with more than 2 files (with 2 files it works ok).

Here is the example:

// Compile app.js
mix.scripts([
    'vendor/jquery.js',
    'vendor/bootstrap.js',
    'controllers/general-controller.js'
], 'public/js/app.js', 'public/js');

// Version scripts
mix.version(["js/app.js"]);

The rev-manifest.json file doesn´t include the file, and the build folder is empty. If I remove one file on the list of compiled scripts works as expected.

I think that is a bug. Anyone is dealing with the same problem?

Thanks in advance!

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.