Skip to content

Commit

Permalink
Avoid importing entire lodash to ensure tree-shaking is working corre…
Browse files Browse the repository at this point in the history
…ctly (#4302)
  • Loading branch information
kibertoad committed Feb 18, 2021
1 parent 8c73417 commit 61e1046
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/dialects/mssql/index.js
@@ -1,16 +1,17 @@
// MSSQL Client
// -------
const { map, flatten, values, isNil } = require('lodash');
const flatten = require('lodash/flatten');
const map = require('lodash/map');
const values = require('lodash/values');
const isNil = require('lodash/isNil');

const Client = require('../../client');

const MSSQL_Formatter = require('./mssql-formatter');
const Transaction = require('./transaction');
const QueryCompiler = require('./query/mssql-querycompiler');
const SchemaCompiler = require('./schema/mssql-compiler');
const TableCompiler = require('./schema/mssql-tablecompiler');
const ColumnCompiler = require('./schema/mssql-columncompiler');

const QueryBuilder = require('../../query/querybuilder');

const debug = require('debug')('knex:mssql');
Expand Down

0 comments on commit 61e1046

Please sign in to comment.