mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 20:41:24 +08:00
FEATURE: Make Discourse work offline with WorkboxJS (#7870)
This commit is contained in:

committed by
GitHub

parent
839916aa49
commit
1221d34284
@ -90,6 +90,26 @@ task 'javascript:update' do
|
||||
}, {
|
||||
# TODO: drop when we eventually drop IE11, this will land in iOS in version 13
|
||||
source: 'intersection-observer/intersection-observer.js'
|
||||
}, {
|
||||
source: 'workbox-sw/build/.',
|
||||
destination: 'workbox',
|
||||
public: true
|
||||
}, {
|
||||
source: 'workbox-routing/build/.',
|
||||
destination: 'workbox',
|
||||
public: true
|
||||
}, {
|
||||
source: 'workbox-core/build/.',
|
||||
destination: 'workbox',
|
||||
public: true
|
||||
}, {
|
||||
source: 'workbox-strategies/build/.',
|
||||
destination: 'workbox',
|
||||
public: true
|
||||
}, {
|
||||
source: 'workbox-expiration/build/.',
|
||||
destination: 'workbox',
|
||||
public: true
|
||||
}
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user