Reduce initial bundle size

This commit is contained in:
syuilo 2019-05-21 04:21:43 +09:00
parent 3cc2049fb3
commit cd4c7689b7
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
13 changed files with 67 additions and 46 deletions

View file

@ -38,7 +38,6 @@
import define from '../../../common/define-widget';
import i18n from '../../../i18n';
import insertTextAtCursor from 'insert-text-at-cursor';
import XPostFormAttaches from '../components/post-form-attaches.vue';
export default define({
name: 'post-form',
@ -49,7 +48,7 @@ export default define({
i18n: i18n('desktop/views/widgets/post-form.vue'),
components: {
XPostFormAttaches
XPostFormAttaches: () => import('../components/post-form-attaches.vue').then(m => m.default)
},
data() {