If npm run build slows down under Docker, Laravel, node environment

Laravel: 6.18.3 laravel-mix: 4.1.4 node 12.17.0 npm 6.14.4

It seems that the cause is that Laravel Mix was upgraded from 4.0 to 4.1.

The following measures.

webpack.js


const mix = require('laravel-mix');
require('laravel-mix-polyfill');

mix.~~~
   //Add the following.
   .options({ processCssUrls: false });

Recommended Posts

If npm run build slows down under Docker, Laravel, node environment
Build docker + laravel environment with laradock
Build a Laravel / Docker environment with VSCode devcontainer
Build Docker + Laravel PHP + Vue.js development environment in 5 minutes
Build docker environment with WSL
I tried to build a laravel operating environment while remembering Docker
Build Couchbase local environment with Docker
Build a Node.js environment with Docker
Laravel + Docker Laradock usage environment construction
Build PlantUML environment with VSCode + Docker
Build environment with vue.js + rails + docker
Build Rails environment with Docker Compose
Install laravel/Dusk in docker environment (laravel6)
Create Laravel environment with Docker (docker-compose)
Build Unity development environment on docker
[Copy and paste] Build a Laravel development environment with Docker Compose Part 2
[Copy and paste] Build a Laravel development environment with Docker Compose Participation