node-adodb
node-adodb copied to clipboard
Webpack exclude adodb.js
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 ?