CI / quality (push) Waiting to run
- Add src/core/ (config, errors, events, http, observability, storage, query) - Add src/Spreadsheet/ engine with native POI backend and Excel bridge - Add Envelope C spreadsheet flow and tender bidding envelope modules - Consolidate components into src/components/, remove legacy Component/ and Hooks/ - Add registration state/validation, auth session guard, profile edit modules - Add unit tests across axios, redux, bidding, registration, encryption, core - Add CI workflow, docs (architecture, audit, DSC API spec), keystore example - Remove tracked keystore binary; ignore scripts.zip Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
32 lines
958 B
JavaScript
32 lines
958 B
JavaScript
const path = require("path");
|
|
const { getDefaultConfig, mergeConfig } = require("@react-native/metro-config");
|
|
|
|
const defaultConfig = getDefaultConfig(__dirname);
|
|
const { assetExts, sourceExts } = defaultConfig.resolver;
|
|
|
|
/**
|
|
* Metro configuration
|
|
* http://reactnative.dev/docs/metro
|
|
*
|
|
* @type {import('metro-config').MetroConfig}
|
|
*/
|
|
const config = {
|
|
transformer: {
|
|
babelTransformerPath: require.resolve(
|
|
"react-native-svg-transformer/react-native"
|
|
)
|
|
},
|
|
resolver: {
|
|
assetExts: assetExts.filter((ext) => ext !== "svg"),
|
|
sourceExts: [...sourceExts, "svg"],
|
|
blockList: [
|
|
// Exclude native Android build artifacts that are created/deleted
|
|
// during Gradle builds, which crash Metro's file watcher (ENOENT)
|
|
/node_modules\/.*\/android\/\.cxx\/.*/,
|
|
/node_modules\/.*\/android\/build\/.*/,
|
|
/node_modules\/.*\/android\/\.gradle\/.*/,
|
|
]
|
|
}
|
|
};
|
|
|
|
module.exports = mergeConfig(defaultConfig, config); |