let mix = require('laravel-mix') mix.setPublicPath('./') mix.js('resources/js/field.js', 'dist/js') .sass('resources/sass/field.scss', 'dist/css') .webpackConfig({ resolve: { symlinks: false } })
info at phpclasses dot org