Skip to content

Commit 2fee92e

Browse files
committed
build(query-parser): add external dependencies COMPASS-10271
1 parent aeef869 commit 2fee92e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/query-parser/rollup.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
const typescript = require('@rollup/plugin-typescript');
22

3+
const external = [
4+
'@mongodb-js/shell-bson-parser',
5+
'debug',
6+
'javascript-stringify',
7+
'lodash',
8+
];
9+
310
module.exports = [
411
{
512
input: 'src/index.ts',
13+
external,
614
output: [
715
{
816
dir: 'dist',
@@ -16,6 +24,7 @@ module.exports = [
1624
},
1725
{
1826
input: 'src/index.ts',
27+
external,
1928
output: [
2029
{
2130
dir: 'dist',

0 commit comments

Comments
 (0)