@knime/product-features
v2.0.0
Published
Package containing composition patterns of KDS Components and KNIME business logic
Maintainers
Readme
@knime/product-features
This is part of the KNIME Design System.
This package contains composition patterns that combine KNIME Design System components with shared product logic.
It's published as npm package: @knime/product-features
Installation
pnpm add @knime/product-featuresUsing with Vitest, Nuxt, or Vite SSR
The published JavaScript imports its CSS as a side effect (e.g.
import "./index.css"), which bundlers handle automatically. When the package
is instead evaluated by Node's native ESM loader — as Vitest and
Vite/Nuxt SSR do by default, since they externalize node_modules — Node
has no .css loader and throws Unknown file extension ".css". Configure the
consuming project once so @knime/* packages are processed instead of
externalized:
// Vitest — vitest.config.ts
export default defineConfig({
test: { server: { deps: { inline: [/@knime\//] } } },
});// Vite SSR — vite.config.ts
export default defineConfig({ ssr: { noExternal: [/@knime\//] } });// Nuxt — nuxt.config.ts
export default defineNuxtConfig({ build: { transpile: [/@knime\//] } });License
GPL 3 and Additional Permissions according to Sec. 7 (SEE the file LICENSE)
