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

vendor.min.js filesize has increased from 3.0MB to 8.7MB in 1.10.27 #2225

Closed
slwa-epowell opened this issue Jan 19, 2022 · 0 comments
Closed

Comments

@slwa-epowell
Copy link

I've noticed that the filesize of ./themes/grav/vendor.min.js has increased from 3.0MB to 8.7MB since version 1.10.27.

Unfortunately with our combination of server and internet speed this is enough to make a noticeable difference in how long it takes the admin pages to load. (This is exacerbated by the fact that in our production environment the browser does not seem to cache it, but I suspect this is unrelated to Grav.)

In the current version of the file I see the following header:
/*

  • ATTENTION: An "eval-source-map" devtool has been used.
  • This devtool is neither made for production nor for readable output files.
  • It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
  • If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
  • or disable the default devtool with "devtool: false".
  • If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
    */

Many thanks.

@w00fz w00fz closed this as completed in 702bd89 Jan 24, 2022
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

1 participant