MOON
Server: Apache
System: Linux ip-208-109-13-31.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els4.x86_64 #1 SMP Sat Aug 31 06:58:57 UTC 2024 x86_64
User: durgeshpandey215 (1013)
PHP: 8.1.29
Disabled: NONE
Upload Files
File: /home/durgeshpandey215/public_html/kanaksoftware.skilladders.com/kanaksoftware/webpack.mix.js
const mix = require('laravel-mix');

/*
 |--------------------------------------------------------------------------
 | Mix Asset Management
 |--------------------------------------------------------------------------
 |
 | Mix provides a clean, fluent API for defining some Webpack build steps
 | for your Laravel applications. By default, we are compiling the CSS
 | file for the application as well as bundling up all the JS files.
 |
 */

mix.js('resources/js/app.js', 'public/js')
    .postCss('resources/css/app.css', 'public/css', [
        //
    ]);

// mix.js('resources/js/app.js', 'public/js')
//     .sass('resources/sass/app.scss', 'public/css')
//     .browserSync({
//         proxy: 'kanaksoftware.test', // Replace with your local URL
//         files: [
//             'app/**/*.php',
//             'resources/views/**/*.php',
//             'public/js/**/*.js',
//             'public/css/**/*.css',
//             'routes/**/*.php'
//         ],
//         open: false,
//         notify: false
//     })
//     .disableNotifications(); // Disable notifications
    mix.browserSync({
        proxy: '127.0.0.1:8000', // replace with your local development URL
        files: [
            'app/**/*.php',
            'resources/views/**/*.php',
            'public/js/**/*.js',
            'public/css/**/*.css',
            'routes/**/*.php'
        ]
    }).disableNotifications();;
    mix.copyDirectory('vendor/tinymce/tinymce', 'public/js/tinymce');