Created
December 9, 2016 20:18
-
-
Save carlosbensant/ce0ae8bba0238b1ded20bd8c33dd5917 to your computer and use it in GitHub Desktop.
Using Laravel Elixir in non Laravel project (for WordPress project).
This file contains hidden or 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
const 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 your application as well as publishing vendor resources. | |
| | |
*/ | |
elixir.config.assetsPath = 'assets'; | |
elixir((mix) => { | |
mix.sass('main.scss', 'style.css'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment