Roni Roni
2

Does Mix Have Any Commands for Brotli Compression?

Just reading the tailwindcss docs, now that v 1.0 is out, and they refer to brotli compression. Is there a setting in laravel mix that enables brotli compression? Does anyo...
Mix
2
209
samleserieux samleserieux
0

Birdboard : patch project error.response

Hi all, I just finished the course "Build A Laravel App With TDD", i try to implement a modal for editing a project, i reused the code we made during the lesson 4...
Mix
0
81
dan3460 dan3460
1

Error on scss file from Bootstrap

I'm building a quick landing page for a web site. I grabbed a sample landing page and implemented it on the site. This landing page uses a _variable.scss that is coming wit...
Mix
1
181
fredemagi fredemagi
3

Transpile CKEditor to ES5 using Webpack/Laravel mix

In order to get CKEditor to work on previous versions of Safari in iOS 10, I was recommended to transpile CKEditor to ES5 using their guide:...
Mix
3
347
realtebo realtebo
2

Is there a way to optimize css?

My goal is to 'simply' remove duplicated rules from final css for example, including bootstrap.scss and then overriding it ca cause to have 2...
Mix
2
212
agent90 agent90
8

Compressing high resolution images!

Hello! I'm trying to compress 3 very high resolution images, because it is causing a huge load problem in my site. I discovered gulp-imagemin library, but it can onl...
Mix
8
408
neeonline neeonline
6

Hot Reload (Vue) with Valet (SSL)

I can't figure out how to make the browser sync/hot reload to work with Valet. I'm using https Valet domains, I tried everything... This is my mix config:...
Mix
6
309
Dev0ps Dev0ps
1

how to get current path using jquery

URL: http://127.0.0.1:8000/home/?page=photos I need only this part /home...
Mix
1
209
xtremer360 xtremer360
2

Theme Assets To Compile With Mix

I have just recently purchased a new theme to brand with my application and I am trying to consider the best way to go about storing the assets that are needed to make the...
Mix
2
280
thebigk thebigk
0

Strange Laravel Mix / Webpack Behavior

Since last ~4 hours, I'm facing a strange issue and I'm not sure about its origin. Here's what's happening - Out of nowhere, when I run npm run dev, Mix...
Mix
0
109
christopher christopher
1

Laravel Mix font path is wrong

I am using Laravel Mix as a standalone version. So - I am copying all my files from a src folder to dist: mix.js('src/javascript/ap...
Mix
1
231
mehedi mehedi
0

Laravel Mix Hot Module Replacement Not Working

Hi ! I am facing some problem about laravel mix hot module replacement. Everything is good as it is. But when I update my vue file then error occurred on browser co...
Mix
0
106
martyf martyf
7

Base64 inline images in CSS with Mix

I'm new to Laravel and have been exploring Mix (and how it can best work for me) - so new to webpack too. In reading about webpack, I read that it can base64-encode...
Mix
7
508

Tailwind css not generated

I've installed the tailwind css package, and added this to the webpack.mix.js file mix.postCss('resources/assets/css/main.css', 'public/css', [ tailwindc...
Mix
2
344
justnorris justnorris
1

[Laravel Mix] How to disable sourcemaps in production?

I want to disable and cleanup any leftover source-maps for production. Any ideas how to do that?...
Mix
1
321
murilo murilo
2

NPM run - is not rendering a JS file properly

Hello GUYS , I have been all day trying with many ways to solve a problem . I have a project that I created inside XAMP Host ( in my machine , windows ) , then I started wo...
Mix
2
228
abhishekamol abhishekamol
5

Uploading file from one server to another

Hi, Please tell me how to upload image file from one server to another via php sftp....
Mix
5
366
kisaw88 kisaw88
3

my css code is getting overriten

hello, now i'am using laravel mix and i'am writing css in sass files , i have tested it and tried it with npm run watch , but now my css file is getting overriten by anothe...
Mix
3
315
deepu07 deepu07
1

Deploying existing laravel in aws linux

Hello guys, I have one quick question "Im trying to deploy existing laravel website into aws ec2. everything went well after some trails. but somehow I',m getting this...
Mix
1
223
entriol entriol
1

Deploying Laravel Mix to Heroku

I successfully deployed Laravel to Heroku. Added buildpacks in this order. === app Buildpack URLs 1. heroku/nodejs 2. heroku/php And also in...
Mix
1
642
huddo huddo
2

Laravel with Amazon SQS

When a job is dispatched by a code base. Is it executed by the server that is running the queue listener or by the code base that dispatched the job? I am using Amazon SQS...
Mix
2
278
DanNeon DanNeon
0

JS errors after upgrade to Laravel 5.6 and switch from Gulp to Mix

Hi, I've recently upgraded to Laravel 5.6 as I need to use Passport, and taken the opportunity to switch from Gulp to Laravel-mix. npm run dev is working fine...
Mix
0
133
nolros nolros
0

Webpack.mix First Render (Critical Rendering Path) Config

Anyone have a best practice or ideally an example for compiling for first paint (Critical Rendering Path) i.e. I would like to compile the core JS and Sass. So that I can m...
Mix
0
123
twg_ twg_
1

Additional Scripts

Hi. I have a large project I'm working on and inside this project I'm developing two sites. They share a lot of similarities but also have unique features for each....
Mix
1
273
poldixd poldixd
6

Path's in stylesheets to images folder

Hello, i worked alwase with GruntJs. Now i switching to 5.4 and Laravel Mix. Here are my files. webpack.mix.js: mix.js('resources/assets/js/app...
Mix
6
3177
ardf16 ardf16
1

Library Code Splitting with two entry points

I need some help with following scenario: mix .js('resources/assets/js/front/admin_app.js', 'public/js') .js('resources/assets/js/front/user_app.js', 'public...
Mix
1
164
deansatch deansatch
11

Bootstrap 4 scss with autoprefixer missing -ms-flex-wrap

I have a new project using bootstrap 4 scss. I have autoprefixer running in my webpack.mix.js: mix.react("resources/js/app.js", "public/js&qu...
Mix
11
407
dave100 dave100
0

Laravel Mix calling Recalculate Style

Hi All, I've got a strange issue where Recalculate Style is being called by something that Laravel mix does. If I remove Mix and manually load all my JS my si...
Mix
0
114
JoshMountain JoshMountain
28

[5.4] npm run watch not working

Using 5.4 and mix, when I run npm run watch it compiles once and looks like it is waiting for changes, but when I make changes to any of my asset files it does...
Mix
28
8395
FascistDonut FascistDonut
1

Laravel Mix rule.loader problem after migrating site to new server

I created a new server and want to migrate my existing laravel application to it. I got the database cloned and I used git to clone the source files. I ran co...
Mix
1
227
mazedul mazedul
10

The Mix manifest does not exist when using orchestral/testbench

Creating a custom Laravel package using the orchestral/testbench package that helps package developer to help with PHPUnit test. So, my package on a different place and not...
Mix
10
363
Indemnity83 Indemnity83
4

Unknown plugin "transform-object-rest-spread"

First off, maybe my search-fu isn't up to par or I don't have a good enough understanding of the issue to apply solutions found elsewhere, but I did search for this answer...
Mix
4
616
raziel79 raziel79
0

aws-s3-zipper aws-sdk mix compiling error

Hi all, i have installed aws-s3-zipper and aws-sdk whe compiling get this warnings: WARNING in ./node_modules/natives/index.js 50:17-28 Critical depen...
Mix
0
108
ivang ivang
1

mix options to not uglify some functions

Hi guys, I'm trying to switch off via mix.options the renaming of some specific functions, but when I run a 'npm run prod' the final js is always minified (ok, I need this)...
Mix
1
373
JakariaBlaine JakariaBlaine
7

How to turn off "build sucess" notifications from Laravel Mix?

I am using Laravel 5.4. I want to turn off the notifications from Laravel Mix. How can I do that?...
Mix
7
3852
Create a New Discussion Button