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() {
55 try {
66 return require ( '../build/Release/mongocrypt.node' ) ;
77 } 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' ) ;
910 }
1011}
1112
Original file line number Diff line number Diff line change 11import { MongoCrypt } from 'mongodb-client-encryption' ;
22
3+ // eslint-disable-next-line no-console
34console . 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-
41const path = require ( 'path' ) ;
52
63const isProduction = process . env . NODE_ENV === 'production' ;
@@ -10,10 +7,6 @@ const config = {
107 output : {
118 path : path . resolve ( __dirname , 'dist' )
129 } ,
13- plugins : [
14- // Add your plugins here
15- // Learn more about plugins from https://webpack.js.org/configuration/plugins/
16- ] ,
1710 experiments : { topLevelAwait : true } ,
1811 target : 'node' ,
1912 module : {
@@ -27,8 +20,6 @@ const config = {
2720 test : / \. n o d e $ / i,
2821 loader : 'node-loader'
2922 }
30- // Add your rules for custom modules here
31- // Learn more about loaders from https://webpack.js.org/loaders/
3223 ]
3324 } ,
3425 resolve : {
You can’t perform that action at this time.
0 commit comments