File tree 2 files changed +3
-3
lines changed
packages/vite/src/node/plugins 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ const cssModuleRE = new RegExp(`\\.module${CSS_LANGS_RE.source}`)
228
228
const directRequestRE = / [ ? & ] d i r e c t \b /
229
229
const htmlProxyRE = / [ ? & ] h t m l - p r o x y \b /
230
230
const htmlProxyIndexRE = / & i n d e x = ( \d + ) /
231
- const commonjsProxyRE = / \? c o m m o n j s - p r o x y /
231
+ const commonjsProxyRE = / [ ? & ] c o m m o n j s - p r o x y /
232
232
const inlineRE = / [ ? & ] i n l i n e \b /
233
233
const inlineCSSRE = / [ ? & ] i n l i n e - c s s \b /
234
234
const styleAttrRE = / [ ? & ] s t y l e - a t t r \b /
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ interface ScriptAssetsUrl {
50
50
}
51
51
52
52
const htmlProxyRE =
53
- / \? h t m l - p r o x y = ? (?: & i n l i n e - c s s ) ? (?: & s t y l e - a t t r ) ? & i n d e x = ( \d + ) \. (?: j s | c s s ) $ /
54
- const isHtmlProxyRE = / \? h t m l - p r o x y \b /
53
+ / [ ? & ] h t m l - p r o x y = ? (?: & i n l i n e - c s s ) ? (?: & s t y l e - a t t r ) ? & i n d e x = ( \d + ) \. (?: j s | c s s ) $ /
54
+ const isHtmlProxyRE = / [ ? & ] h t m l - p r o x y \b /
55
55
56
56
const inlineCSSRE = / _ _ V I T E _ I N L I N E _ C S S _ _ ( [ a - z \d ] { 8 } _ \d + ) _ _ / g
57
57
// Do not allow preceding '.', but do allow preceding '...' for spread operations
You can’t perform that action at this time.
0 commit comments