{"size": 908, "ext": "js", "max_stars_repo_path": "webpack.mix.js", "max_stars_repo_name": "joesama/civer", "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": "joesama/civer", "max_issues_repo_issues_event_min_datetime": "2020-04-03T22:55:27.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T00:55:17.000Z", "max_forks_repo_path": "webpack.mix.js", "max_forks_repo_name": "joesama/civer", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 6, "max_forks_count": null, "avg_line_length": 24.5405405405, "max_line_length": 76, "alphanum_fraction": 0.5649779736}
const mix = require('laravel-mix');

require('laravel-mix-tailwind');
require('laravel-mix-purgecss');

/*
 |--------------------------------------------------------------------------
 | 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.options({
    terser: {
        extractComments: false,
    }
});

mix.js('resources/source/scripts/app.js', 'public/js/civer.js')
.postCss('resources/source/styles/tailwind.css', 'public/css/civer.css')
.tailwind('tailwind.config.js')
.webpackConfig({
    output: { chunkFilename: 'js/chunck/[name].[contenthash].js' },
  });

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


