@dbcube/core 1.0.8 → 1.0.10

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tsup.config.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbcube/core",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
package/tsup.config.ts CHANGED
@@ -8,6 +8,7 @@ export default defineConfig({
8
8
  outDir: 'dist', // Directorio de salida
9
9
  splitting: false, // Desactiva la división de código
10
10
  sourcemap: true, // Genera sourcemaps
11
+ external: ['better-sqlite3'], // Externalize native modules
11
12
  outExtension: ({ format }) => ({ // Forzar extensiones personalizadas
12
13
  js: format === 'cjs' ? '.cjs' : '.js',
13
14
  }),