const dotenvExpand = require('dotenv-expand');
dotenvExpand(require('dotenv').config({ path: '../../.env'/*, debug: true*/}));

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

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

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

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