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

optimize build #64

Merged
merged 10 commits into from
May 6, 2020
Merged

optimize build #64

merged 10 commits into from
May 6, 2020

Conversation

JulienParis
Copy link
Contributor

@JulienParis JulienParis commented May 6, 2020

@JulienParis JulienParis self-assigned this May 6, 2020
@JulienParis
Copy link
Contributor Author

en virant les font de fontawesome du build et en les injectant bêtement via CDNNn ça allège pas mal on dirait

2:14:15 PM: Built at: 05/06/2020 12:14:15 PM
2:14:15 PM:                                            Asset       Size  Chunks                    Chunk Names
2:14:15 PM:                   ../server/client.manifest.json   22.7 KiB          [emitted]
2:14:15 PM:                                         LICENSES   1.18 KiB          [emitted]
2:14:15 PM:                                           app.js    151 KiB       4  [emitted]         app
2:14:15 PM:                                   commons.app.js    190 KiB       5  [emitted]         commons.app
2:14:15 PM:                                       lang-FR.js  656 bytes       2  [emitted]         lang-FR
2:14:15 PM:                                    lang-fr-FR.js  716 bytes    3, 2  [emitted]         lang-fr-FR
2:14:15 PM:                                       pages/_.js  372 bytes    6, 8  [emitted]         pages/_
2:14:15 PM:                             pages/_lang/index.js    129 KiB       0  [emitted]         pages/_lang/index
2:14:15 PM:                           pages/_lang/rawData.js   7.28 KiB       7  [emitted]         pages/_lang/rawData
2:14:15 PM:                                   pages/index.js  215 bytes       8  [emitted]         pages/index
2:14:15 PM:                                 pages/rawData.js   7.43 KiB    9, 7  [emitted]         pages/rawData
2:14:15 PM:                                       runtime.js   2.45 KiB      10  [emitted]         runtime
2:14:15 PM:                                   vendors.app.js   1.62 MiB      11  [emitted]  [big]  vendors.app
2:14:15 PM: vendors.pages/_.pages/_lang/index.pages/index.js    194 KiB       1  [emitted]         vendors.pages/_.pages/_lang/index.pages/index
2:14:15 PM:  + 1 hidden asset
2:14:15 PM: Entrypoint app [big] = runtime.js commons.app.js vendors.app.js app.js
2:14:15 PM: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
2:14:15 PM: This can impact web performance.
2:14:15 PM: Assets:
2:14:15 PM:   vendors.app.js (1.62 MiB)
2:14:15 PM: WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (1000 KiB). This can impact web performance.
2:14:15 PM: Entrypoints:
2:14:15 PM:   app (1.96 MiB)
2:14:15 PM:       runtime.js
2:14:15 PM:       commons.app.js
2:14:15 PM:       vendors.app.js
2:14:15 PM:       app.js

@JulienParis JulienParis requested a review from abulte May 6, 2020 12:23
frontend/nuxt.config.js Outdated Show resolved Hide resolved
frontend/package.json Show resolved Hide resolved
frontend/package.json Outdated Show resolved Hide resolved
@JulienParis JulienParis changed the title adding build/analyze optimize build May 6, 2020
@JulienParis
Copy link
Contributor Author

Capture d’écran 2020-05-06 à 15 46 06

don't know what to trim even further for now...

@abulte
Copy link
Contributor

abulte commented May 6, 2020

This is good for a first try 💪

We could look into importing mapbox-gl smartly but that means looking into the vue integration, or even rewriting/removing it. I don't think we have time for that right now.

@JulienParis
Copy link
Contributor Author

okay, so I'll merge that for now so I could begin with some of those brand new datasets Geoffrey generated recently

thx for the reviews & tips @abulte

@JulienParis JulienParis merged commit 9a17f63 into master May 6, 2020
@JulienParis JulienParis deleted the julien/optimbuild branch May 6, 2020 14:01
@JulienParis JulienParis mentioned this pull request May 6, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants