tailchat/web/build/utils.ts

9 lines
222 B
TypeScript

/**
* workbox 匹配plugin的缓存
*/
export const workboxPluginEntryPattern =
/plugins\/com\.msgbyte(.*?)\/index\.js/;
export const workboxPluginDetailPattern =
/plugins\/com\.msgbyte\.(.*?)\/(\S+?)\-(\S*?)\.js/;