Skip to content

Instantly share code, notes, and snippets.

View KolesnichenkoEvheniy's full-sized avatar

Kolesnichenko Yevhenii KolesnichenkoEvheniy

View GitHub Profile
'use strict';
const path = require('path');
const del = require('del');
const {mix} = require('laravel-mix');
const env = require('prop-env');
const basePath = (...fp) => path.join(__dirname, ...fp || '');
const assetPath = (...fp) => basePath('resources/assets', ...fp);
const publicPath = (...fp) => basePath('public', ...fp);