node-adodb icon indicating copy to clipboard operation
node-adodb copied to clipboard

Webpack exclude adodb.js

Open yedane opened this issue 5 years ago • 0 comments

Hello,

When I try to bundle my vscode extension with webpack(Working well without webpack), I got this error on execution: Uncaught Fatal Exception

Tried to move out adodb.js and set ADODB.PATH in my config as below but still not working:

plugins: [
  new CopyPlugin([
    { from: './node_modules/node-adodb/lib/adodb.js', to: './ressources/adodb.js' }
  ]),
  new webpack.DefinePlugin({
    'ADODB.PATH': './ressources/adodb.js'
  })
]

Is there any other configuration that I need to change ?

yedane avatar Jan 01 '20 17:01 yedane