From d0defc556f7fba17dc27db5b1f9b7230c95f7d34 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Fri, 9 Oct 2020 18:54:12 -0700 Subject: [PATCH] docs(build): link library in build script --- docs/scripts/build.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/scripts/build.js b/docs/scripts/build.js index 5a8c31c1..1c4696c4 100644 --- a/docs/scripts/build.js +++ b/docs/scripts/build.js @@ -1,8 +1,11 @@ const shell = require("shelljs"); shell.cd("../"); -shell.exec("yarn install"); +shell.exec("yarn"); shell.exec("yarn build:css"); +shell.exec("yarn link"); shell.cd("docs"); +shell.exec("yarn link 'carbon-components-svelte'"); +shell.exec("yarn"); shell.exec("routify run -b"); shell.exec("svite build");