Put Moment.js as an optional dependency
See original GitHub issueHi.
Congratulations on this great work.
I wonder if it’s possible to put moment.js as an optional dependency when not using datetime components.
Moment.js is huge!
Index of /min/
Name Type Size Last Modified
.. - - -
locales.js application/javascript 303 kB 2016-12-04T05:48:31.000Z
locales.min.js application/javascript 194 kB 2016-12-04T05:48:31.000Z
moment-with-locales.js application/javascript 426 kB 2016-12-04T05:48:31.000Z
moment-with-locales.min.js application/javascript 255 kB 2016-12-04T05:48:31.000Z
moment.min.js application/javascript 61.3 kB 2016-12-04T05:48:31.000Z
Or at least find a way to select certain locations. I think in this way the footprint of QuasarFramework is going to be much less.
Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Docs - Moment.js
Dependency by other libraries. Several other libraries, especially date pickers and graphing libraries, take Moment as a dependency. If you are using such...
Read more >Loading moment.js as a dependency with webpack?
After installing moment.js with npm: npm install --save moment ...what do I have to put into webpack.config.dev.js so that I don't get:.
Read more >What are Optional Dependencies and when should we use them
When a dependency is made optional, your program is still responsible for handling its absence. Step 3: Make a new file “app.js” and...
Read more >moment | Yarn - Package Manager
A JavaScript date library for parsing, validating, manipulating, and formatting dates. Project Status. Moment.js is a legacy project, now in maintenance mode.
Read more >wwwroot/js/moment.js - HeuristicLab
// without creating circular dependencies. 21, function setHookCallback (callback) {. 22, hookCallback = callback;. 23, }. 24. 25, function isArray( ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In
/build/weback.base.conf.js
there’s a section specifically for this:Will do something about this, yeah. This is part of the roadmap (import only needed components). Thanks!
Changes will be available in future v0.14.