Home

Awesome

laravel-elixir-packager

npm version

Laravel Elixir Packager.

Usage

Packager will automatically process sass/app/app.scss and js/app/app.js.

const Elixir = require('laravel-elixir');
const Packager = require('laravel-elixir-packager');


Elixir(function (mix) {


      Packager('app', mix, [
    
            // Vendor Styles
    
            // ...
            Packager.npm + 'swiper/dist/css/swiper.min.css',
            // ...
            
        ], [
    
            // Vendor Scripts
            
            // ...
            Packager.npm + 'jquery.easing/jquery.easing.min.js',
            //...
    

        ]);

});