2022-09-09 10:52:27 +08:00
|
|
|
/**
|
|
|
|
* {一些常量}
|
|
|
|
* @author yutent<yutent.io@gmail.com>
|
|
|
|
* @date 2022/09/06 11:54:56
|
|
|
|
*/
|
|
|
|
|
|
|
|
export const JS_EXP = /<script[^>]*?>([\w\W]*?)<\/script>/
|
|
|
|
export const STYLE_EXP = /<style[^>]*?>([\w\W]*?)<\/style>/g
|
|
|
|
export const HTML_EXP = /<template[^>]*?>([\w\W]*?)<\/template>/
|
|
|
|
|
2023-01-13 11:40:53 +08:00
|
|
|
export const CSS_SHEET_EXP =
|
|
|
|
/([\w\.,#\-:>\+\~\|\(\)\[\]"'\=\s]+)\{([^\{\}]*?)\}/g
|
2022-10-18 16:02:29 +08:00
|
|
|
|
2022-09-09 10:52:27 +08:00
|
|
|
export const COMMON_HEADERS = {
|
|
|
|
'Cache-Control': 'no-store'
|
|
|
|
}
|