Created
May 11, 2016 00:50
-
-
Save hieulm/7610db92705afb4ca134e88c09b84fc3 to your computer and use it in GitHub Desktop.
gulpfile.js for elixir & foundation scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var elixir = require('laravel-elixir'); | |
/* | |
|-------------------------------------------------------------------------- | |
| Elixir Asset Management | |
|-------------------------------------------------------------------------- | |
| | |
| Elixir provides a clean, fluent API for defining some basic Gulp tasks | |
| for your Laravel application. By default, we are compiling the Sass | |
| file for our application, as well as publishing vendor resources. | |
| | |
*/ | |
elixir(function(mix) { | |
mix.sass( | |
'app.scss', | |
'public/css', | |
{includePaths: ['vendor/bower_components/foundation-sites/scss']} | |
); | |
mix.scripts( | |
[ | |
'jquery/dist/jquery.js', | |
'what-input/what-input.js', | |
'foundation-sites/dist/foundation.js' | |
], | |
'public/js/app.js', | |
'vendor/bower_components/' | |
) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment