Commit aa1d807 1 parent 276c1d3 commit aa1d807 Copy full SHA for aa1d807
File tree 2 files changed +3
-0
lines changed
packages/vite/src/node/__tests__/plugins/importGlob
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ export const excludeSelf = /* #__PURE__ */ Object.assign({"./sibling.ts": () =>
69
69
70
70
71
71
} );
72
+ export const excludeSelfRaw = /* #__PURE__ */ Object.assign({ " ./sibling.ts" : () => import (" ./sibling.ts?raw" )} );
72
73
export const customQueryString = /* #__PURE__ */ Object.assign({ " ./sibling.ts" : () => import (" ./sibling.ts?custom" )} );
73
74
export const customQueryObject = /* #__PURE__ */ Object.assign({ " ./sibling.ts" : () => import (" ./sibling.ts?foo=bar&raw=true" )
74
75
@@ -164,6 +165,7 @@ export const excludeSelf = /* #__PURE__ */ Object.assign({"./sibling.ts": () =>
164
165
165
166
166
167
} );
168
+ export const excludeSelfRaw = /* #__PURE__ */ Object.assign({ " ./sibling.ts" : () => import (" ./sibling.ts?raw" )} );
167
169
export const customQueryString = /* #__PURE__ */ Object.assign({ " ./sibling.ts" : () => import (" ./sibling.ts?custom&lang.ts" )} );
168
170
export const customQueryObject = /* #__PURE__ */ Object.assign({ " ./sibling.ts" : () => import (" ./sibling.ts?foo=bar&raw=true&lang.ts" )
169
171
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ export const excludeSelf = import.meta.glob(
80
80
* for test: annotation contain ")"
81
81
* */
82
82
)
83
+ export const excludeSelfRaw = import . meta. glob ( './*.ts' , { query : '?raw' } )
83
84
84
85
export const customQueryString = import . meta. glob ( './*.ts' , { query : 'custom' } )
85
86
You can’t perform that action at this time.
0 commit comments