elixir-module.js
elixir-module.js
file. This file looks very similar to your webpack.config.js
. Here is an example of one:elixir
call in your main webpack.config.js
file. Every method installed in your main webpack.config.js
file is available here./modules_app/my-module/elixir-module.js
will look for an app.scss
file inside of /modules_app/my-module/resources/assets/sass/app.scss
and compile it to /modules_app/my-module/includes/css/app.css
.includes
["modules_app"]
excludes
[]
fileName
elixir-module.js
mix.module()
passing in the module's name:/modules_app/my-module/elixir-module.js
and add the resulting mix function to the gulp tasks. If the file does not exist or is not a function, Elixir will show an error and continue on with the other build tasks./new_base_directory/my-module/new-filename.js
for the mix function.