VUECONF US 2019 | How to reduce your Vue bundle size using Webpack with Jennifer Bland

VUECONF US 2019 | How to reduce your Vue bundle size using Webpack with Jennifer Bland

Vue Mastery

5 лет назад

5,056 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Mike-cg5cd
@Mike-cg5cd - 03.06.2019 23:07

I'll consider this. I've been having problems with large bundled size.

Ответить
@thejaredwilcurt9336
@thejaredwilcurt9336 - 03.07.2019 23:46

Was already importing just the parts of lodash we were using, but followed the video and applied the moment resolver and used moment-timezone-data-webpack-plugin. Build went from 2.24MB (parsed, not gzipped) to 1.16MB. Not a huge difference on gzip though as most of the stuff that was removed compresses really well. But no need to include stuff that isn't needed or to increase memory usage of the app with locales we don't support.

Ответить
@Magistrado1914
@Magistrado1914 - 24.09.2019 19:40

Excellent video. 24/09/2019

Ответить
@elysium2013
@elysium2013 - 14.10.2019 12:33

My appreciate for you, Jennifer Bland !

Ответить
@adnanasad4674
@adnanasad4674 - 22.07.2024 17:56

import moment from "moment" have been replace this with import moment from "moment/src/moment" now getting error

WARNING in ./node_modules/moment/src/lib/locale/locales.js 78:12-46
Module not found: Error: Can't resolve './locale' in 'D:\xampp\htdocs\erp-live\node_modules\moment\src\lib\locale'

Ответить