File tree Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ function load() {
5
5
try {
6
6
return require ( '../build/Release/mongocrypt.node' ) ;
7
7
} catch {
8
- console . error ( 'Could not load the native module mongocrypt.node' ) ;
8
+ // eslint-disable-next-line no-console
9
+ console . log ( 'Could not load the native module mongocrypt.node' ) ;
9
10
}
10
11
}
11
12
Original file line number Diff line number Diff line change 1
1
import { MongoCrypt } from 'mongodb-client-encryption' ;
2
2
3
+ // eslint-disable-next-line no-console
3
4
console . log ( new MongoCrypt ( { } ) ) ;
Original file line number Diff line number Diff line change 1
- // Generated using webpack-cli https://github.com/webpack/webpack-cli
2
- 'use strict' ;
3
-
4
1
const path = require ( 'path' ) ;
5
2
6
3
const isProduction = process . env . NODE_ENV === 'production' ;
@@ -10,10 +7,6 @@ const config = {
10
7
output : {
11
8
path : path . resolve ( __dirname , 'dist' )
12
9
} ,
13
- plugins : [
14
- // Add your plugins here
15
- // Learn more about plugins from https://webpack.js.org/configuration/plugins/
16
- ] ,
17
10
experiments : { topLevelAwait : true } ,
18
11
target : 'node' ,
19
12
module : {
@@ -27,8 +20,6 @@ const config = {
27
20
test : / \. n o d e $ / i,
28
21
loader : 'node-loader'
29
22
}
30
- // Add your rules for custom modules here
31
- // Learn more about loaders from https://webpack.js.org/loaders/
32
23
]
33
24
} ,
34
25
resolve : {
You can’t perform that action at this time.
0 commit comments