Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack exclude adodb.js #243

Open
yedane opened this issue Jan 1, 2020 · 0 comments
Open

Webpack exclude adodb.js #243

yedane opened this issue Jan 1, 2020 · 0 comments

Comments

@yedane
Copy link

yedane commented Jan 1, 2020

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant