We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d91645c commit 14b2322Copy full SHA for 14b2322
examples/msw-react-crud/vite.config.ts
@@ -25,7 +25,8 @@ export default defineConfig({
25
// Suppress warnings for optional dynamic imports in runtime
26
onwarn(warning, warn) {
27
// Ignore unresolved import warnings for @objectstack/driver-memory
28
- // This is an optional dynamic import in the runtime that gets resolved at build time
+ // 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
30
if (
31
warning.code === 'UNRESOLVED_IMPORT' &&
32
warning.message.includes('@objectstack/driver-memory')
0 commit comments