There was an error while loading. Please reload this page.
1 parent ac16aec commit 545c721Copy full SHA for 545c721
1 file changed
packages/start-plugin-core/src/dev-server-plugin/dev-styles.ts
@@ -104,9 +104,8 @@ export async function collectDevStyles(
104
if (dep.file && isCssModulesFile(dep.file)) {
105
const css = cssModulesCache[normalizeCssModuleCacheKey(dep.file)]
106
if (!css) {
107
- throw new Error(
108
- `[tanstack-start] Missing CSS module in cache: ${dep.file}`,
109
- )
+ // skip this module - it may not be a real CSS module or it may not have been transformed yet
+ continue
110
}
111
styles.set(dep.url, css)
112
continue
0 commit comments