Questions tagged as 'laravel-mix'

0
answers

Some of my code does not seem to go through Babel before arriving in Uglify

I am not able to generate the production build of my application with Laravel Mix. When trying to build the build, npm tells me that there was an error while trying to run UglifyJs:    /js/app.js from UglifyJs   Unexpected token: operator (&...
asked by 13.05.2017 / 18:07
1
answer

Compile multiple JS retaining the original names

Personal I have a folder inside the resources called js where it has several JS files and subfolders with other JSs. How do I set up Laravel Mix for it to compile all the contents of the JS folder including the subfolders into the public / js fo...
asked by 27.03.2018 / 03:58
0
answers

How to set the images and fonts directory in Laravel-mix?

I'm using Laravel-mix in a personal project, however, without the presence of the Laravel Framework. When I command to generate the files, Laravel-mix reads the sass files and creates in the project root an images directory and a fonts. How d...
asked by 23.11.2017 / 03:44
0
answers

How to use gulp to auto copy source files while compiling scss?

I'm using gulp with gulp-sass to generate the build of my css files. I would like to do in SCSS build, source files referenced by @ font-face within the style would be automatically copied to assets / fonts , whereas css would be generated in...
asked by 23.11.2017 / 13:50