feat(db): add automatic Drizzle migration on app startup
This commit is contained in:
+12
-1
@@ -6,4 +6,15 @@ const config = getDefaultConfig(__dirname);
|
||||
|
||||
config.resolver.sourceExts.push("sql");
|
||||
|
||||
module.exports = withNativewind(config);
|
||||
// Exclude .sql files from CSS/PostCSS processing
|
||||
config.transformer.getTransformOptions = async () => ({
|
||||
transform: {
|
||||
experimentalImportSupport: false,
|
||||
inlineRequires: false,
|
||||
},
|
||||
});
|
||||
|
||||
module.exports = withNativewind(config, {
|
||||
// Ensure .sql files are not processed as CSS
|
||||
inlineRem: false,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user