@sveltejs/vite-plugin-svelte 6.2.2 → 6.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/utils/id.js +2 -1
package/package.json
CHANGED
package/src/utils/id.js
CHANGED
|
@@ -184,6 +184,7 @@ export function buildIdFilter(options) {
|
|
|
184
184
|
id: {
|
|
185
185
|
include: [extensionsRE, .../**@type {Array<string|RegExp>}*/ arraify(include)],
|
|
186
186
|
exclude: /**@type {Array<string|RegExp>}*/ [
|
|
187
|
+
'\0',
|
|
187
188
|
SVELTE_VIRTUAL_STYLE_ID_REGEX, // exclude from regular pipeline, we load it in a separate plugin
|
|
188
189
|
...arraify(exclude)
|
|
189
190
|
]
|
|
@@ -225,7 +226,7 @@ export function buildModuleIdFilter(options) {
|
|
|
225
226
|
return {
|
|
226
227
|
id: {
|
|
227
228
|
include: [infixWithExtRE, .../**@type {Array<string|RegExp>}*/ arraify(include)],
|
|
228
|
-
exclude:
|
|
229
|
+
exclude: ['\0', .../**@type {Array<string|RegExp>}*/ arraify(exclude)]
|
|
229
230
|
}
|
|
230
231
|
};
|
|
231
232
|
}
|