{"size": 1257, "ext": "js", "max_stars_repo_path": "webpack.mix.js", "max_stars_repo_name": "Nicklera/MemberNotificationApp", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "webpack.mix.js", "max_issues_repo_name": "Nicklera/MemberNotificationApp", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "webpack.mix.js", "max_forks_repo_name": "Nicklera/MemberNotificationApp", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.9285714286, "max_line_length": 93, "alphanum_fraction": 0.6268894193}
var mix       = require('laravel-mix')
// Set resource root directory
.setResourceRoot('/idea/public/'),
// Config props
assetsDir   = 'resources/assets/',
nodeDir     = 'node_modules/',
publicDir   = 'public/',
distDir     = 'public/dist/',
composerDir = 'vendor/';

mix.copyDirectory(nodeDir + 'amcharts/dist/amcharts', publicDir + 'assets/plugins/amcharts');
mix.less(assetsDir + 'less/admin.less', distDir + 'css/admin.css')
    .options({
      processCssUrls: false
    })
    .less(assetsDir + 'less/common.less', distDir + 'css/common.css')
    .options({
      processCssUrls: false
    })
//   .less(assetsDir + 'less/application.less', distDir + 'css/application.css')
    .js( assetsDir + 'js/common.js',  distDir + 'js/common.js')
    .js( assetsDir + 'js/admin.js',  distDir + 'js/admin.js');
    // .scripts(adminJs, distDir + 'js/admin.js');

// Copy images
mix.copy(
    [
        // JSTree related images
        nodeDir + 'jstree/dist/themes/default/32px.png',
        nodeDir + 'jstree/dist/themes/default/40px.png',
        nodeDir + 'jstree/dist/themes/default/throbber.gif',

        // iCheck
        nodeDir + 'admin-lte/plugins/iCheck/square/blue.png',
    ], 
    distDir + 'css/'
);


if (mix.inProduction()) {
  mix.version();
}