@tinacms/schema-tools 2.7.4 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/index.d.ts +17 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -563,6 +563,23 @@ export interface Config<CMSCallback = undefined, FormifyCallback = undefined, Do
|
|
|
563
563
|
* If your site will be served at a sub-path like `my-domain.com/my-site`, provide `"my-site"`
|
|
564
564
|
*/
|
|
565
565
|
basePath?: string;
|
|
566
|
+
/**
|
|
567
|
+
* Additional npm packages to externalize when bundling `tina/database.ts`.
|
|
568
|
+
*
|
|
569
|
+
* Tina automatically externalizes a known-good baseline (currently `better-sqlite3`).
|
|
570
|
+
* Use this list for native modules or packages outside that baseline that cannot be
|
|
571
|
+
* bundled by esbuild — for example, custom database adapters that ship native bindings.
|
|
572
|
+
*
|
|
573
|
+
* Externalized packages must be installed in your project's `node_modules` so Node can
|
|
574
|
+
* resolve them at runtime.
|
|
575
|
+
*
|
|
576
|
+
* @example
|
|
577
|
+
* build: {
|
|
578
|
+
* // ...other build options
|
|
579
|
+
* externalDependencies: ['my-custom-native-adapter'],
|
|
580
|
+
* }
|
|
581
|
+
*/
|
|
582
|
+
externalDependencies?: string[];
|
|
566
583
|
};
|
|
567
584
|
/**
|
|
568
585
|
* Configuration for the local development server (`tinacms dev`).
|