From 751ed299f65c0bda5a6ec69291eb34690c7aeefb Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 21 Mar 2021 09:06:08 -0700 Subject: [PATCH] fix: remove explicit webpack chunk names (#2016) * fix: remove explicit webpack chunk names * fix: fix vercel json --- .../asyncDialogs/importShowAccountProfileOptionsDialog.js | 2 +- .../_components/dialog/asyncDialogs/importShowComposeDialog.js | 2 +- .../_components/dialog/asyncDialogs/importShowCopyDialog.js | 2 +- .../_components/dialog/asyncDialogs/importShowEmojiDialog.js | 2 +- .../_components/dialog/asyncDialogs/importShowMediaDialog.js | 2 +- .../dialog/asyncDialogs/importShowMediaEditDialog.js | 2 +- .../_components/dialog/asyncDialogs/importShowMuteDialog.js | 2 +- .../dialog/asyncDialogs/importShowPostPrivacyDialog.js | 2 +- .../_components/dialog/asyncDialogs/importShowReportDialog.js | 2 +- .../dialog/asyncDialogs/importShowShortcutHelpDialog.js | 2 +- .../dialog/asyncDialogs/importShowStatusOptionsDialog.js | 2 +- .../dialog/asyncDialogs/importShowTextConfirmationDialog.js | 2 +- .../dialog/asyncDialogs/importShowWordFilterDialog.js | 2 +- src/routes/_utils/asyncModules/importArrowKeyNavigation.js | 2 +- src/routes/_utils/asyncModules/importComposeBox.js | 2 +- src/routes/_utils/asyncModules/importDatabase.js | 2 +- src/routes/_utils/asyncModules/importEmojiMart.js | 2 +- src/routes/_utils/asyncModules/importList.js | 2 +- src/routes/_utils/asyncModules/importLoggedInStoreExtensions.js | 2 +- src/routes/_utils/asyncModules/importNavShortcuts.js | 2 +- .../_utils/asyncModules/importNotificationVirtualListItem.js | 2 +- src/routes/_utils/asyncModules/importPageLifecycle.js | 2 +- src/routes/_utils/asyncModules/importSnackbar.js | 2 +- src/routes/_utils/asyncModules/importStatusVirtualListItem.js | 2 +- src/routes/_utils/asyncModules/importTesseractWorker.js | 2 +- src/routes/_utils/asyncModules/importTimeline.js | 2 +- src/routes/_utils/asyncModules/importToast.js | 2 +- src/routes/_utils/asyncModules/importVirtualList.js | 2 +- src/routes/_utils/asyncModules/importVirtualListStore.js | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowAccountProfileOptionsDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowAccountProfileOptionsDialog.js index 36fb91ee..c8fcb42c 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowAccountProfileOptionsDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowAccountProfileOptionsDialog.js @@ -1,3 +1,3 @@ export const importShowAccountProfileOptionsDialog = () => import( - /* webpackChunkName: 'showAccountProfileOptionsDialog' */ '../creators/showAccountProfileOptionsDialog' + '../creators/showAccountProfileOptionsDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowComposeDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowComposeDialog.js index bf53de98..cebc8eee 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowComposeDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowComposeDialog.js @@ -1,3 +1,3 @@ export const importShowComposeDialog = () => import( - /* webpackChunkName: 'showComposeDialog' */ '../creators/showComposeDialog' + '../creators/showComposeDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowCopyDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowCopyDialog.js index ad9842de..08cd4805 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowCopyDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowCopyDialog.js @@ -1,3 +1,3 @@ export const importShowCopyDialog = () => import( - /* webpackChunkName: 'showCopyDialog' */ '../creators/showCopyDialog' + '../creators/showCopyDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowEmojiDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowEmojiDialog.js index 07bf1c25..1251f1da 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowEmojiDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowEmojiDialog.js @@ -1,3 +1,3 @@ export const importShowEmojiDialog = () => import( - /* webpackChunkName: 'showEmojiDialog' */ '../creators/showEmojiDialog' + '../creators/showEmojiDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowMediaDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowMediaDialog.js index 34b18c97..2aac8c23 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowMediaDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowMediaDialog.js @@ -1,3 +1,3 @@ export const importShowMediaDialog = () => import( - /* webpackChunkName: 'showMediaDialog' */ '../creators/showMediaDialog' + '../creators/showMediaDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowMediaEditDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowMediaEditDialog.js index 0894c8d6..6ed668e5 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowMediaEditDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowMediaEditDialog.js @@ -1,3 +1,3 @@ export const importShowMediaEditDialog = () => import( - /* webpackChunkName: 'showMediaEditDialog' */ '../creators/showMediaEditDialog' + '../creators/showMediaEditDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowMuteDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowMuteDialog.js index 6712b904..f18a7ade 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowMuteDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowMuteDialog.js @@ -1,3 +1,3 @@ export const importShowMuteDialog = () => import( - /* webpackChunkName: 'showMuteDialog' */ '../creators/showMuteDialog' + '../creators/showMuteDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowPostPrivacyDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowPostPrivacyDialog.js index e6ab36ab..403d5368 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowPostPrivacyDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowPostPrivacyDialog.js @@ -1,3 +1,3 @@ export const importShowPostPrivacyDialog = () => import( - /* webpackChunkName: 'showPostPrivacyDialog' */ '../creators/showPostPrivacyDialog' + '../creators/showPostPrivacyDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowReportDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowReportDialog.js index 7dbae941..980335d8 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowReportDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowReportDialog.js @@ -1,3 +1,3 @@ export const importShowReportDialog = () => import( - /* webpackChunkName: 'showReportDialog' */ '../creators/showReportDialog' + '../creators/showReportDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowShortcutHelpDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowShortcutHelpDialog.js index bb0dc1e3..007e6a93 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowShortcutHelpDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowShortcutHelpDialog.js @@ -1,3 +1,3 @@ export const importShowShortcutHelpDialog = () => import( - /* webpackChunkName: 'showShortcutHelpDialog' */ '../creators/showShortcutHelpDialog' + '../creators/showShortcutHelpDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowStatusOptionsDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowStatusOptionsDialog.js index b570f7b8..bb0df2b9 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowStatusOptionsDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowStatusOptionsDialog.js @@ -1,3 +1,3 @@ export const importShowStatusOptionsDialog = () => import( - /* webpackChunkName: 'showStatusOptionsDialog' */ '../creators/showStatusOptionsDialog' + '../creators/showStatusOptionsDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowTextConfirmationDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowTextConfirmationDialog.js index dc3bde6f..12bf505d 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowTextConfirmationDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowTextConfirmationDialog.js @@ -1,3 +1,3 @@ export const importShowTextConfirmationDialog = () => import( - /* webpackChunkName: 'showTextConfirmationDialog' */ '../creators/showTextConfirmationDialog' + '../creators/showTextConfirmationDialog' ).then(mod => mod.default) diff --git a/src/routes/_components/dialog/asyncDialogs/importShowWordFilterDialog.js b/src/routes/_components/dialog/asyncDialogs/importShowWordFilterDialog.js index fd779623..f46dbb72 100644 --- a/src/routes/_components/dialog/asyncDialogs/importShowWordFilterDialog.js +++ b/src/routes/_components/dialog/asyncDialogs/importShowWordFilterDialog.js @@ -1,3 +1,3 @@ export const importShowWordFilterDialog = () => import( - /* webpackChunkName: 'showWordFilterDialog' */ '../creators/showWordFilterDialog' + '../creators/showWordFilterDialog' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importArrowKeyNavigation.js b/src/routes/_utils/asyncModules/importArrowKeyNavigation.js index ef802092..e744e0e6 100644 --- a/src/routes/_utils/asyncModules/importArrowKeyNavigation.js +++ b/src/routes/_utils/asyncModules/importArrowKeyNavigation.js @@ -1,3 +1,3 @@ export const importArrowKeyNavigation = () => import( - /* webpackChunkName: 'arrow-key-navigation' */ 'arrow-key-navigation' + 'arrow-key-navigation' ) diff --git a/src/routes/_utils/asyncModules/importComposeBox.js b/src/routes/_utils/asyncModules/importComposeBox.js index 0ee78855..1d7de7f6 100644 --- a/src/routes/_utils/asyncModules/importComposeBox.js +++ b/src/routes/_utils/asyncModules/importComposeBox.js @@ -1,3 +1,3 @@ export const importComposeBox = () => import( - /* webpackChunkName: 'ComposeBox.html' */ '../../_components/compose/ComposeBox.html' + '../../_components/compose/ComposeBox.html' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importDatabase.js b/src/routes/_utils/asyncModules/importDatabase.js index 1a72be14..79b7ca9f 100644 --- a/src/routes/_utils/asyncModules/importDatabase.js +++ b/src/routes/_utils/asyncModules/importDatabase.js @@ -1,3 +1,3 @@ export const importDatabase = () => import( - /* webpackChunkName: 'database.js' */ '../../_database/databaseApis.js' + '../../_database/databaseApis.js' ) diff --git a/src/routes/_utils/asyncModules/importEmojiMart.js b/src/routes/_utils/asyncModules/importEmojiMart.js index c1f361d9..8961d889 100644 --- a/src/routes/_utils/asyncModules/importEmojiMart.js +++ b/src/routes/_utils/asyncModules/importEmojiMart.js @@ -1,3 +1,3 @@ export const importEmojiMart = () => import( - /* webpackChunkName: 'createEmojiMartPickerFromData.js' */ '../../_react/createEmojiMartPickerFromData.js' + '../../_react/createEmojiMartPickerFromData.js' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importList.js b/src/routes/_utils/asyncModules/importList.js index 29f1813c..d6e10940 100644 --- a/src/routes/_utils/asyncModules/importList.js +++ b/src/routes/_utils/asyncModules/importList.js @@ -1,3 +1,3 @@ export const importList = () => import( - /* webpackChunkName: 'List.html' */ '../../_components/list/List.html' + '../../_components/list/List.html' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importLoggedInStoreExtensions.js b/src/routes/_utils/asyncModules/importLoggedInStoreExtensions.js index 80fdc2ae..3648536b 100644 --- a/src/routes/_utils/asyncModules/importLoggedInStoreExtensions.js +++ b/src/routes/_utils/asyncModules/importLoggedInStoreExtensions.js @@ -1,3 +1,3 @@ export const importLoggedInStoreExtensions = () => import( - /* webpackChunkName: 'loggedInStoreExtensions.js' */ '../../_store/loggedInStoreExtensions.js' + '../../_store/loggedInStoreExtensions.js' ) diff --git a/src/routes/_utils/asyncModules/importNavShortcuts.js b/src/routes/_utils/asyncModules/importNavShortcuts.js index 16b24a40..c3d9ffb1 100644 --- a/src/routes/_utils/asyncModules/importNavShortcuts.js +++ b/src/routes/_utils/asyncModules/importNavShortcuts.js @@ -1,3 +1,3 @@ export const importNavShortcuts = () => import( - /* webpackChunkName: 'NavShortcuts' */ '../../_components/NavShortcuts.html' + '../../_components/NavShortcuts.html' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importNotificationVirtualListItem.js b/src/routes/_utils/asyncModules/importNotificationVirtualListItem.js index 79fcd892..038947f5 100644 --- a/src/routes/_utils/asyncModules/importNotificationVirtualListItem.js +++ b/src/routes/_utils/asyncModules/importNotificationVirtualListItem.js @@ -1,3 +1,3 @@ export const importNotificationVirtualListItem = () => import( - /* webpackChunkName: 'NotificationVirtualListItem.html' */ '../../_components/timeline/NotificationVirtualListItem.html' + '../../_components/timeline/NotificationVirtualListItem.html' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importPageLifecycle.js b/src/routes/_utils/asyncModules/importPageLifecycle.js index a8515171..5b397998 100644 --- a/src/routes/_utils/asyncModules/importPageLifecycle.js +++ b/src/routes/_utils/asyncModules/importPageLifecycle.js @@ -1,3 +1,3 @@ export const importPageLifecycle = () => import( - /* webpackChunkName: 'page-lifecycle' */ 'page-lifecycle/dist/lifecycle.mjs' + 'page-lifecycle/dist/lifecycle.mjs' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importSnackbar.js b/src/routes/_utils/asyncModules/importSnackbar.js index aa1605b2..df5d7774 100644 --- a/src/routes/_utils/asyncModules/importSnackbar.js +++ b/src/routes/_utils/asyncModules/importSnackbar.js @@ -1,3 +1,3 @@ export const importSnackbar = () => import( - /* webpackChunkName: 'Snackbar.html' */ '../../_components/snackbar/Snackbar.html' + '../../_components/snackbar/Snackbar.html' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importStatusVirtualListItem.js b/src/routes/_utils/asyncModules/importStatusVirtualListItem.js index cb635c32..a0359adc 100644 --- a/src/routes/_utils/asyncModules/importStatusVirtualListItem.js +++ b/src/routes/_utils/asyncModules/importStatusVirtualListItem.js @@ -1,3 +1,3 @@ export const importStatusVirtualListItem = () => import( - /* webpackChunkName: 'StatusVirtualListItem.html' */ '../../_components/timeline/StatusVirtualListItem.html' + '../../_components/timeline/StatusVirtualListItem.html' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importTesseractWorker.js b/src/routes/_utils/asyncModules/importTesseractWorker.js index 4f10d33f..8ef8bc88 100644 --- a/src/routes/_utils/asyncModules/importTesseractWorker.js +++ b/src/routes/_utils/asyncModules/importTesseractWorker.js @@ -1,3 +1,3 @@ export const importTesseractWorker = () => import( - /* webpackChunkName: 'tesseractWorker' */ '../../_utils/tesseractWorker.js' + '../../_utils/tesseractWorker.js' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importTimeline.js b/src/routes/_utils/asyncModules/importTimeline.js index 08b0b0a6..6ba122ff 100644 --- a/src/routes/_utils/asyncModules/importTimeline.js +++ b/src/routes/_utils/asyncModules/importTimeline.js @@ -1,3 +1,3 @@ export const importTimeline = () => import( - /* webpackChunkName: 'Timeline' */ '../../_components/timeline/Timeline.html' + '../../_components/timeline/Timeline.html' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importToast.js b/src/routes/_utils/asyncModules/importToast.js index 65331c71..e7bcfa2d 100644 --- a/src/routes/_utils/asyncModules/importToast.js +++ b/src/routes/_utils/asyncModules/importToast.js @@ -1,3 +1,3 @@ export const importToast = () => import( - /* webpackChunkName: 'Toast.html' */ '../../_components/toast/Toast.html' + '../../_components/toast/Toast.html' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importVirtualList.js b/src/routes/_utils/asyncModules/importVirtualList.js index b0834ec0..95f6be7b 100644 --- a/src/routes/_utils/asyncModules/importVirtualList.js +++ b/src/routes/_utils/asyncModules/importVirtualList.js @@ -1,3 +1,3 @@ export const importVirtualList = () => import( - /* webpackChunkName: 'VirtualList.html' */ '../../_components/virtualList/VirtualList.html' + '../../_components/virtualList/VirtualList.html' ).then(mod => mod.default) diff --git a/src/routes/_utils/asyncModules/importVirtualListStore.js b/src/routes/_utils/asyncModules/importVirtualListStore.js index f6b60e71..7c4bb827 100644 --- a/src/routes/_utils/asyncModules/importVirtualListStore.js +++ b/src/routes/_utils/asyncModules/importVirtualListStore.js @@ -1,3 +1,3 @@ export const importVirtualListStore = () => import( - /* webpackChunkName: 'virtualListStore.js' */ '../../_components/virtualList/virtualListStore.js' + '../../_components/virtualList/virtualListStore.js' )