From 0483ac75f17c9eb17d16e33f33da62e44c1a080f Mon Sep 17 00:00:00 2001 From: Jason Karlavige Date: Thu, 28 Sep 2023 09:51:16 -0400 Subject: [PATCH] clear build warnings on unavailable private package now that npm_token var is only available in production. this lineage component is not used --- website/src/components/lineage/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/src/components/lineage/index.js b/website/src/components/lineage/index.js index eb59178369d..6c22e2bae99 100644 --- a/website/src/components/lineage/index.js +++ b/website/src/components/lineage/index.js @@ -5,11 +5,11 @@ let Dag = null; try { /** As a private package, not every developer will have access to this repo. */ - const DagImport = require('@dbt-labs/react-dbt-dag'); - require('@dbt-labs/react-dbt-dag/dag.css'); - require('@dbt-labs/react-dbt-dag/dag.standalone.css'); + // const DagImport = require('@dbt-labs/react-dbt-dag'); + // require('@dbt-labs/react-dbt-dag/dag.css'); + // require('@dbt-labs/react-dbt-dag/dag.standalone.css'); - Dag = DagImport.Dag; + // Dag = DagImport.Dag; } catch (err) { /** * react-dbt-dag is a private repo. Not all developers of the