mirror of https://github.com/zulip/zulip.git
datetimepicker: Add flatpickr lib as dependancy.
This commit is contained in:
parent
9efc1b08a1
commit
76f6f7cb47
|
@ -88,6 +88,7 @@
|
|||
"hash_util": false,
|
||||
"message_list": false,
|
||||
"Filter": false,
|
||||
"flatpickr": false,
|
||||
"pointer": false,
|
||||
"util": false,
|
||||
"MessageListView": false,
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"emoji-datasource-google": "3.0.0",
|
||||
"emoji-datasource-twitter": "3.0.0",
|
||||
"expose-loader": "0.7.3",
|
||||
"flatpickr": "4.2.3",
|
||||
"fuzzysearch": "1.0.3",
|
||||
"handlebars": "4.0.10",
|
||||
"i18next": "3.4.4",
|
||||
|
|
|
@ -77,7 +77,11 @@ subprocess.check_call(['cp', '-R', 'node_modules/katex/dist/fonts',
|
|||
'node_modules/katex/dist/fonts')],
|
||||
stdout=fp, stderr=fp)
|
||||
|
||||
CSS_FILES = ['node_modules/perfect-scrollbar/dist/css/perfect-scrollbar.css']
|
||||
CSS_FILES = [
|
||||
'node_modules/perfect-scrollbar/dist/css/perfect-scrollbar.css',
|
||||
'node_modules/flatpickr/dist/flatpickr.css',
|
||||
'node_modules/flatpickr/dist/plugins/confirmDate/confirmDate.css',
|
||||
]
|
||||
|
||||
# Copy CSS files in node_modules to prod-static/serve
|
||||
for css_file in CSS_FILES:
|
||||
|
|
|
@ -843,6 +843,8 @@ PIPELINE = {
|
|||
'third/spectrum/spectrum.css',
|
||||
'third/thirdparty-fonts.css',
|
||||
'generated/icons/style.css',
|
||||
'node_modules/flatpickr/dist/flatpickr.css',
|
||||
'node_modules/flatpickr/dist/plugins/confirmDate/confirmDate.css',
|
||||
'styles/components.css',
|
||||
'styles/app_components.css',
|
||||
'styles/zulip.css',
|
||||
|
@ -874,6 +876,8 @@ PIPELINE = {
|
|||
'third/thirdparty-fonts.css',
|
||||
'generated/icons/style.css',
|
||||
'node_modules/katex/dist/katex.css',
|
||||
'node_modules/flatpickr/dist/flatpickr.css',
|
||||
'node_modules/flatpickr/dist/plugins/confirmDate/confirmDate.css',
|
||||
'styles/components.css',
|
||||
'styles/app_components.css',
|
||||
'styles/zulip.css',
|
||||
|
@ -960,6 +964,8 @@ JS_SPECS = {
|
|||
'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',
|
||||
'third/marked/lib/marked.js',
|
||||
'generated/emoji/emoji_codes.js',
|
||||
'generated/pygments_data.js',
|
||||
|
|
Loading…
Reference in New Issue