File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/vite/src/node/plugins Expand file tree Collapse file tree 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}`)
228228const directRequestRE = / [ ? & ] d i r e c t \b /
229229const htmlProxyRE = / [ ? & ] h t m l - p r o x y \b /
230230const 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 /
232232const inlineRE = / [ ? & ] i n l i n e \b /
233233const inlineCSSRE = / [ ? & ] i n l i n e - c s s \b /
234234const 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 {
5050}
5151
5252const 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 /
5555
5656const inlineCSSRE = / _ _ V I T E _ I N L I N E _ C S S _ _ ( [ a - z \d ] { 8 } _ \d + ) _ _ / g
5757// Do not allow preceding '.', but do allow preceding '...' for spread operations
You can’t perform that action at this time.
0 commit comments