euforic / banking.js

The Missing API for Banks - Get all of your transactions and balances using node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Critical warning in Webpack: require function is used in a way in which dependencies cannot be statically extracted

webmonarch opened this issue · comments

When building a project with banking.js and webpack, the following warning is emitted on build:

WARNING in ./~/banking/lib/ofx.js
7:17-24 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

webpack doesn't seem to like the use of require this way here: https://github.com/euforic/banking.js/blob/master/lib/ofx.js#L7

Seems like a easy tweak to fix this warning.