Skip to content

Commit

Permalink
Build v8 tokens to /dist (#785)
Browse files Browse the repository at this point in the history
* add new output dir

* Create wise-hornets-sin.md
  • Loading branch information
langermank authored Nov 23, 2023
1 parent 400fd39 commit 1c830ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wise-hornets-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/primitives": patch
---

Build v8 tokens to `/dist`
6 changes: 6 additions & 0 deletions scripts/buildTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,12 @@ export const buildDesignTokens = (buildOptions: ConfigGeneratorOptions): void =>
/** -----------------------------------
* Run build script
* ----------------------------------- */
// build to private directory for backwards compatibility
buildDesignTokens({
buildPath: 'tokens-next-private/',
})

// build to dist
buildDesignTokens({
buildPath: 'dist/',
})

0 comments on commit 1c830ae

Please sign in to comment.