kylefarris / node-querybuilder

Node QueryBuilder Adapter for Node.js (tags: nodejs, node, mysql, active record, activerecord, querybuilder, query builder)
49 stars 19 forks source link

Recursion error when using webpack 4 #27

Open Flamenco opened 6 years ago

Flamenco commented 6 years ago

see https://github.com/webpack/webpack/issues/6026

Webpack has issues when package.json uses "main": "./".

Workaround without changing node-querybuilder source:

module.exports = {
  resolve: {
    alias: {
      // see https://github.com/webpack/webpack/issues/6026
      'node-querybuilder': 'node-querybuilder/index.js',
    },
  }
}