Skip to content

Commit 14b2322

Browse files
Copilothotlong
andcommitted
docs: improve comment accuracy in vite.config.ts
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent d91645c commit 14b2322

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/msw-react-crud/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ export default defineConfig({
2525
// Suppress warnings for optional dynamic imports in runtime
2626
onwarn(warning, warn) {
2727
// Ignore unresolved import warnings for @objectstack/driver-memory
28-
// This is an optional dynamic import in the runtime that gets resolved at build time
28+
// This is an optional fallback dynamic import in the runtime kernel.
29+
// It's safe to suppress because the driver is explicitly imported in src/mocks/browser.ts
2930
if (
3031
warning.code === 'UNRESOLVED_IMPORT' &&
3132
warning.message.includes('@objectstack/driver-memory')

0 commit comments

Comments
 (0)