webpack: Remove app files from settings.py in django.

Removes the app files from being included in the Django pipeline
as these files are now being compiled and included via webpack.
This commit is contained in:
Armaan Ahluwalia 2018-07-05 16:41:27 +05:30 committed by Tim Abbott
parent 8fe422794d
commit de40a7c2f6
1 changed files with 4 additions and 191 deletions

View File

@ -891,197 +891,10 @@ PIPELINE = {
# Useful reading on how this works is in
# https://zulip.readthedocs.io/en/latest/subsystems/front-end-build-process.html
JS_SPECS = {
'app': {
'source_filenames': [
'third/bootstrap-notify/js/bootstrap-notify.js',
'third/html5-formdata/formdata.js',
'node_modules/jquery-validation/dist/jquery.validate.js',
'node_modules/blueimp-md5/js/md5.js',
'node_modules/clipboard/dist/clipboard.js',
'third/jquery-filedrop/jquery.filedrop.js',
'third/jquery-caret/jquery.caret.1.5.2.js',
'node_modules/xdate/src/xdate.js',
'third/jquery-idle/jquery.idle.js',
'third/jquery-autosize/jquery.autosize.js',
'node_modules/perfect-scrollbar/dist/perfect-scrollbar.js',
'third/spectrum/spectrum.js',
'third/sockjs/sockjs-0.3.4.js',
'node_modules/string.prototype.codepointat/codepointat.js',
'node_modules/winchan/winchan.js',
'node_modules/handlebars/dist/handlebars.runtime.js',
'node_modules/to-markdown/dist/to-markdown.js',
'node_modules/flatpickr/dist/flatpickr.js',
'node_modules/flatpickr/dist/plugins/confirmDate/confirmDate.js',
'node_modules/error-stack-parser/dist/error-stack-parser.min.js',
"node_modules/sortablejs/Sortable.js",
'third/marked/lib/marked.js',
'generated/emoji/emoji_codes.js',
'generated/pygments_data.js',
'templates/compiled.js',
'js/feature_flags.js',
'js/loading.js',
'js/schema.js',
'js/util.js',
'js/keydown_util.js',
'js/lightbox_canvas.js',
'js/rtl.js',
'js/dict.js',
'js/scroll_util.js',
'js/components.js',
'js/localstorage.js',
'js/drafts.js',
'js/input_pill.js',
'js/user_pill.js',
'js/compose_pm_pill.js',
'js/channel.js',
'js/setup.js',
'js/unread_ui.js',
'js/unread_ops.js',
'js/muting.js',
'js/muting_ui.js',
'js/message_viewport.js',
'js/rows.js',
'js/people.js',
'js/user_groups.js',
'js/unread.js',
'js/topic_list.js',
'js/pm_list.js',
'js/pm_conversations.js',
'js/recent_senders.js',
'js/stream_sort.js',
'js/topic_generator.js',
'js/top_left_corner.js',
'js/stream_list.js',
'js/filter.js',
'js/voting_widget.js',
'js/tictactoe_widget.js',
'js/zform.js',
'js/widgetize.js',
'js/submessage.js',
'js/fetch_status.js',
'js/message_list_data.js',
'js/message_list_view.js',
'js/message_list.js',
'js/message_live_update.js',
'js/narrow_state.js',
'js/narrow.js',
'js/reload.js',
'js/compose_fade.js',
'js/fenced_code.js',
'js/markdown.js',
'js/local_message.js',
'js/echo.js',
'js/socket.js',
'js/sent_messages.js',
'js/compose_state.js',
'js/compose_actions.js',
'js/transmit.js',
'js/zcommand.js',
'js/compose.js',
'js/upload.js',
'js/stream_color.js',
'js/stream_data.js',
'js/topic_data.js',
'js/stream_muting.js',
'js/stream_events.js',
'js/stream_create.js',
'js/stream_edit.js',
'js/subs.js',
'js/message_edit.js',
'js/condense.js',
'js/resize.js',
'js/list_render.js',
'js/floating_recipient_bar.js',
'js/lightbox.js',
'js/ui_report.js',
'js/message_scroll.js',
'js/info_overlay.js',
'js/ui.js',
'js/night_mode.js',
'js/ui_util.js',
'js/pointer.js',
'js/click_handlers.js',
'js/settings_panel_menu.js',
'js/settings_toggle.js',
'js/scroll_bar.js',
'js/gear_menu.js',
'js/copy_and_paste.js',
'js/stream_popover.js',
'js/popovers.js',
'js/overlays.js',
'js/typeahead_helper.js',
'js/search_suggestion.js',
'js/search.js',
'js/composebox_typeahead.js',
'js/navigate.js',
'js/list_util.js',
'js/hotkey.js',
'js/favicon.js',
'js/notifications.js',
'js/hash_util.js',
'js/hashchange.js',
'js/invite.js',
'js/message_flags.js',
'js/alert_words.js',
'js/alert_words_ui.js',
'js/attachments_ui.js',
'js/message_store.js',
'js/message_util.js',
'js/message_events.js',
'js/message_fetch.js',
'js/server_events.js',
'js/server_events_dispatch.js',
'js/zulip.js',
'js/presence.js',
'js/user_search.js',
'js/buddy_data.js',
'js/buddy_list.js',
'js/list_cursor.js',
'js/activity.js',
'js/user_events.js',
'js/colorspace.js',
'js/timerender.js',
'js/tutorial.js',
'js/hotspots.js',
'js/templates.js',
'js/upload_widget.js',
'js/avatar.js',
'js/realm_icon.js',
'js/reminder.js',
'js/settings_account.js',
'js/settings_display.js',
'js/settings_notifications.js',
'js/settings_bots.js',
'js/settings_muting.js',
'js/settings_sections.js',
'js/settings_emoji.js',
'js/settings_org.js',
'js/settings_users.js',
'js/settings_streams.js',
'js/settings_filters.js',
'js/settings_invites.js',
'js/settings_user_groups.js',
'js/settings_profile_fields.js',
'js/settings.js',
'js/admin_sections.js',
'js/admin.js',
'js/tab_bar.js',
'js/emoji.js',
'js/bot_data.js',
'js/reactions.js',
'js/typing.js',
'js/typing_status.js',
'js/typing_data.js',
'js/typing_events.js',
'js/ui_init.js',
'js/emoji_picker.js',
'js/compose_ui.js',
'js/panels.js',
'js/settings_ui.js',
'js/search_pill.js'
],
'output_filename': 'min/app.js'
},
# One of the main reason we are treating the following bundles separately
# from webpack is we want to reduce the webpack compile time since These
# files are very large in size and are already minified or being minified
# in the pipeline itself
# We also want to minify sockjs separately for the sockjs iframe transport
'sockjs': {
'source_filenames': ['third/sockjs/sockjs-0.3.4.js'],