const mix = require('laravel-mix');
require('laravel-mix-merge-manifest');

mix.setPublicPath('../../public').mergeManifest();

mix.js(__dirname + '/Resources/assets/js/app.js', 'assets/dist/js/core.js')
    .sass( __dirname + '/Resources/assets/sass/app.scss', 'assets/dist/css/core.css');

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