Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"npm run dev" taking longer after upgrading Vue #22509

Closed
tareqtms opened this issue Dec 22, 2017 · 4 comments
Closed

"npm run dev" taking longer after upgrading Vue #22509

tareqtms opened this issue Dec 22, 2017 · 4 comments

Comments

@tareqtms
Copy link

  • Laravel Version: 5.5.19
  • PHP Version: 7.0.25
  • Database Driver & Version: mysql Ver 15.1 Distrib 10.1.16-MariaDB, for osx10.11 (x86_64) using readline 5.1

Description:

I am using Vue with Laravel, as it is there by default. I have 18 vue components and 4 JS files (for separate vue instances) and 4 css files to be processed by webpack. Previously, "npm run dev" took a few seconds to create the js files, but "npm run prod" was taking like over a minute. But recently I updated vue to latest version (2.5.11) and it started taking too long for "npm run dev", it's taking like around 2 minutes for each run. Even "npm run prod" is taking lower time than it.

Steps To Reproduce:

Create some componets and vue instances as described above and run "npm run dev"

@Dylan-DPC-zz
Copy link

npm run dev has nothing to do with laravel. It could be something with vue or worst case, an issue with mix/webpack.

@tareqtms
Copy link
Author

I already created the issue for Vue, but they said, the issue is not related to them and they closed the issue immediately: vuejs/vue#7293

@tareqtms
Copy link
Author

I also created the issue in webpack : webpack/webpack#6177 .
But need to make sure is it something with laravel mix, which is an extended version of webpack?

@pavinthan
Copy link
Contributor

Duplicate laravel-mix/laravel-mix#49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants