Friday, May 4, 2018

Laravel Mix: Extracting a non-npm vendor file - development

Laravel Mix: Extracting a non-npm vendor file

I was wondering if it was possible to extract vendor files that aren’t part of node_modules.

I have code similar to the following but obviously, it doesn’t work otherwise I wouldn’t be asking this question.

mix.js('resources/assets/js/app.js', 'public/js')
    .extract(['jquery', 'resources/assets/vendor/redactor/redactor.min.js'])



from Laravel Questions and Answers https://laravelquestions.com/laravel/laravel-mix-extracting-a-non-npm-vendor-file/
via Lzo Media

No comments:

Post a Comment