#3855 (Have a smaller main.js file to avoid webpack warning about asset size limit)
by Luc Saffre · in Developers · assigned to contrib
Résumé
The warning comes during "npm run build". Start by reading [url start at webpack.js.org/guides/code-splitting/].
Concepts sous-jacents
Commentaires
- 5 ans, 9 mois ago by Luc Saffre about #3855 (Have a smaller main.js file to avoid webpack warning about asset size limit) : Also observed after my changes that date fields are again empty (no initial value) when I click the edit button. And no error message in js console. Maybe I'll undo my changes with the datetime.js file. Though I somehow have the feeling that it's not related to these changes.
- 5 ans, 9 mois ago by Luc Saffre about #3855 (Have a smaller main.js file to avoid webpack warning about asset size limit) : In the hope of reducing the size of the main.js file I moved three components from LinoComponents.js into a separate file datetime.js. But nope, that made the main.js even a few bytes bigger.