@kong/design-tokens
Advanced tools
Comparing version 1.1.5-pr.29.a1cedae.0 to 1.1.5
/** | ||
* Do not edit directly | ||
* Generated on Thu, 29 Jun 2023 19:11:58 GMT | ||
* Generated on Thu, 29 Jun 2023 20:04:34 GMT | ||
* | ||
@@ -5,0 +5,0 @@ * GitHub: https://github.com/Kong/design-tokens |
/** | ||
* Do not edit directly | ||
* Generated on Thu, 29 Jun 2023 19:11:58 GMT | ||
* Generated on Thu, 29 Jun 2023 20:04:34 GMT | ||
* | ||
@@ -5,0 +5,0 @@ * GitHub: https://github.com/Kong/design-tokens |
{ | ||
"name": "@kong/design-tokens", | ||
"version": "1.1.5-pr.29.a1cedae.0", | ||
"version": "1.1.5", | ||
"description": "Kong UI Design Tokens and style dictionary", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -16,2 +16,3 @@ # Kong UI Design Tokens | ||
- [VS Code extensions](#vs-code-extensions) | ||
- [Server-Side Rendering (SSR)](#server-side-rendering-ssr) | ||
- [Development Sandbox](#development-sandbox) | ||
@@ -113,2 +114,21 @@ - [Lint and fix](#lint-and-fix) | ||
### Server-Side Rendering (SSR) | ||
If your host app utilizes SSR, you may need to resolve aliases to the package exports. | ||
For example, for a VitePress site, add the following to your `vite.config.ts` | ||
```ts | ||
export default defineConfig({ | ||
resolve: { | ||
alias: { | ||
// We must alias `@kong/design-tokens` imports to specifically utilize the esm build | ||
'@kong/design-tokens/tokens/scss/variables': path.resolve(__dirname, '../node_modules/@kong/design-tokens/dist/tokens/scss/variables.scss'), | ||
'@kong/design-tokens': path.resolve(__dirname, '../node_modules/@kong/design-tokens/dist/tokens/js/'), | ||
}, | ||
}, | ||
}) | ||
``` | ||
### Development Sandbox | ||
@@ -115,0 +135,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
73696
0
0
216