ameliabooking
Last commit date
Licensing
2 years ago
assets
1 year ago
extensions
1 year ago
languages
1 year ago
public
1 year ago
src
1 year ago
v3
1 year ago
vendor
1 year ago
view
2 years ago
.babelrc
6 years ago
Readme_documentation.pdf
3 years ago
ameliabooking.php
1 year ago
package-lock.json
1 year ago
package.json
4 years ago
readme.txt
1 year ago
webpack.config.js
6 years ago
webpack.mix.js
1 year ago
webpack.config.js
27 lines
| 1 | /** |
| 2 | * As our first step, we'll pull in the user's webpack.mix.js |
| 3 | * file. Based on what the user requests in that file, |
| 4 | * a generic config object will be constructed for us. |
| 5 | */ |
| 6 | |
| 7 | require('./node_modules/laravel-mix/src/index') |
| 8 | require(Mix.paths.mix()) |
| 9 | |
| 10 | /** |
| 11 | * Just in case the user needs to hook into this point |
| 12 | * in the build process, we'll make an announcement. |
| 13 | */ |
| 14 | |
| 15 | Mix.dispatch('init', Mix) |
| 16 | |
| 17 | /** |
| 18 | * Now that we know which build tasks are required by the |
| 19 | * user, we can dynamically create a configuration object |
| 20 | * for Webpack. And that's all there is to it. Simple! |
| 21 | */ |
| 22 | |
| 23 | let WebpackConfig = require('./node_modules/laravel-mix/src/builder/WebpackConfig') |
| 24 | |
| 25 | module.exports = new WebpackConfig().build() |
| 26 | |
| 27 |