Skip to content

Commit 662973c

Browse files
authored
Make sure to embed oracledb native bindings in the release package (#245)
* Make sure to embed oracledb native bindings in the release package * set oracledb as external to avoid issues when loading the prebuilds
1 parent 4e1cebf commit 662973c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

esbuild.package.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ esbuild
3535
'oci-common',
3636
'oci-objectstorage',
3737
'oci-secrets',
38+
'oracledb',
3839
],
3940
plugins: [
4041
clean({
@@ -46,6 +47,12 @@ esbuild
4647
to: [path.join('node_modules', 'lodash')],
4748
},
4849
}),
50+
copy({
51+
assets: {
52+
from: [path.join('node_modules', 'oracledb', '**', '*')],
53+
to: [path.join('node_modules', 'oracledb')],
54+
},
55+
}),
4956
copyFolderFiles({
5057
fromPath: __dirname,
5158
targetFolderPath: RELEASE_FOLDER_PATH,

0 commit comments

Comments
 (0)