From 2f3a9ea2830a9be46c0d02cff9626b3e2e8cae89 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 11 Nov 2019 14:23:13 -0500 Subject: [PATCH] I guess this workaround is still needed for Node 10+ (really closes #7036) --- build_src.js | 3 ++- package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build_src.js b/build_src.js index 31260f3dd..e8a959fb9 100644 --- a/build_src.js +++ b/build_src.js @@ -62,7 +62,8 @@ function buildBundle() { }), nodeResolve({ mainFields: ['module', 'main'], - browser: false + browser: false, + dedupe: ['object-inspect'] }), commonjs(), json({ indent: '' }), diff --git a/package.json b/package.json index c02bf67c1..e29095312 100644 --- a/package.json +++ b/package.json @@ -84,6 +84,7 @@ "mocha-phantomjs-core": "^2.1.0", "name-suggestion-index": "3.4.0", "npm-run-all": "^4.0.0", + "object-inspect": "1.7.0", "osm-community-index": "1.0.0", "phantomjs-prebuilt": "~2.1.11", "request": "^2.88.0",