puffy
280
6
Mix

Laravel mix extract problem

Posted 6 months ago by puffy

I have this webpack.mix.js

    [
    'resources/js/vendor/jquery.js',
    'resources/js/vendor/bootstrap.bundle.js',
    'resources/js/vendor/jquery.slimscroll.js',
    'resources/js/vendor/metisMenu.js',
    'resources/js/vendor/waves.js',
    'resources/js/vendor/jquery.waypoints.min.js',
    'resources/js/vendor/jquery.counterup.min.js',
    ],
    'public/js/andali.js');
mix.js('resources/js/app.js', 'public/js')
   .sass('resources/sass/app.scss', 'public/css')
   .extract()
   .version()
   .copyDirectory('resources/fonts', 'public/fonts')
   .copyDirectory('resources/images', 'public/images');

In /public/js/vendor.js I have only this code

(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["/js/vendor"],[]]);

What i do wrong?

Thanks

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

Reply to

Use Markdown with GitHub-flavored code blocks.