const mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel application. By default, we are compiling the Sass | file for the application as well as bundling up all the JS files. | */ mix.webpackConfig({ resolve: { // extensions: ['.js', '.vue', '.json'], alias: { '@JS': path.resolve(__dirname, 'resources/js'), '@Global': path.resolve(__dirname, 'resources/js/Global'), // '@Modules': path.resolve(__dirname, 'resources/js/Modules'), // -----------------------------Modules-------------------------------- '@User': path.resolve(__dirname, 'resources/js/User'), '@Common': path.resolve(__dirname, 'resources/js/Common'), }, }, }); // mix.js('resources/js/Modules/Website/app.js', 'public/Modules/Website/js') // .js('resources/js/Home/app.js', 'public/Home/js'); // .js('resources/js/Authentication/app.js', 'public/Authentication/js'); mix.js('resources/js/Authentication/app.js', 'public/Authentication/js') .js('resources/js/Home/app.js', 'public/Home/js') .js('resources/js/User/app.js', 'public/User/js'); require('./modules/wm-crm/webpack.mix'); // require('./modules/wm-store/webpack.mix');