node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »



Webpack in a opinionated way to make it super simple to get it to work with laravel


  • compiles sass / scss
  • compiles less
  • TODO can version files with a rev-manifest.json compatible with the elixir function
  • TODO support for ES6 and React JSX
  • simple to use api

Getting started

first install laravel-webpack

$ npm install --save laravel-webpack

add change your gulp file to

var webpack = require('laravel-webpack')
webpack(function(packer) {
    // compile app.scss to app.css
    packer.styles('app', 'sass/app.scss')
    // compile app.js to javascripts.js
    packer.js('javascripts', 'js/app.js')