We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a231a commit cfcceaeCopy full SHA for cfcceae
packages/fullstack/src/plugin.ts
@@ -27,6 +27,7 @@ import {
27
normalizeRelativePath,
28
} from "./plugins/utils";
29
import {
30
+ cleanUrl,
31
evalValue,
32
normalizeViteImportAnalysisUrl,
33
} from "./plugins/vite-utils";
@@ -232,7 +233,10 @@ export function assetsPlugin(pluginOpts?: FullstackPluginOptions): Plugin[] {
232
233
}
234
if (environment.name !== "client") {
235
const collected = await collectCss(environment, resolved.id);
- for (const file of [resolved.id, ...collected.visitedFiles]) {
236
+ for (const file of [
237
+ cleanUrl(resolved.id),
238
+ ...collected.visitedFiles,
239
+ ]) {
240
if (fs.existsSync(file)) {
241
this.addWatchFile(file);
242
0 commit comments