WEBAPP NEW UI FIRST COMMIT

This commit is contained in:
Henry Jordan
2020-12-02 19:46:17 +00:00
parent f883f92c05
commit bb56be2730
34 changed files with 14527 additions and 33 deletions

29
webpack.config.js Executable file
View File

@@ -0,0 +1,29 @@
/**
* As our first step, we'll pull in the user's webpack.mix.js
* file. Based on what the user requests in that file,
* a generic config object will be constructed for us.
*/
let mix = require('../src/index');
let ComponentFactory = require('../src/components/ComponentFactory');
new ComponentFactory().installAll();
require(Mix.paths.mix());
/**
* Just in case the user needs to hook into this point
* in the build process, we'll make an announcement.
*/
Mix.dispatch('init', Mix);
/**
* Now that we know which build tasks are required by the
* user, we can dynamically create a configuration object
* for Webpack. And that's all there is to it. Simple!
*/
let WebpackConfig = require('../src/builder/WebpackConfig');
module.exports = new WebpackConfig().build();