@wuchale/vite-plugin 0.14.0 → 0.14.1
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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -136,7 +136,7 @@ class Plugin {
|
|
|
136
136
|
const filename = relative(this.#projectRoot, id);
|
|
137
137
|
for (const adapter of Object.values(this.#adapters)) {
|
|
138
138
|
if (adapter.fileMatches(filename)) {
|
|
139
|
-
return await adapter.transform(code, filename, this.#hmrVersion, options
|
|
139
|
+
return await adapter.transform(code, filename, this.#hmrVersion, options?.ssr);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
return {};
|