Registry / devops / kolibri-build

kolibri-build

JSON →
library1.1.2jsnpmunverified

Webpack-based build configuration for Kolibri, a learning management system for offline use. Current version 1.1.2 requires Node.js >=20.19.0 and npm >=8. Provides pre-configured webpack 5 setup with Vue.js template compiler (2.7.16 peer dependency). Released by Learning Equality for internal Kolibri development. Alternatives exist for general Vue/Webpack builds.

npm install kolibri-build
INSTALL
IMPORT
SIG · KOLIBRI-BUILD
K
kolibri-build
devopsjavascriptv1.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

buildConfig
import buildConfig from 'kolibri-build';
const buildConfig = require('kolibri-build');
Default export; assume ESM but CommonJS may work with bundler.
createWebpackConfig
import { createWebpackConfig } from 'kolibri-build';
import createWebpackConfig from 'kolibri-build';
Named export; check exports in package.
BuildConfig
import type { BuildConfig } from 'kolibri-build';
import { BuildConfig } from 'kolibri-build';
TypeScript type export; not a runtime value.

Shows how to import and use default build config with custom entry.

// Build configuration import buildConfig from 'kolibri-build'; // Extend default config const config = buildConfig({ entry: './src/index.js', output: { filename: 'app.js' }, // ... custom options }); export default config;
Debug
Known issues
breakingNode.js >=20.19.0 required. Older versions break.
fix
Upgrade Node.js to >=20.19.0.
affects: >=1.1.0
gotchaWebpack 5 only; not compatible with webpack 4.
fix
Ensure webpack@^5.102.0 is installed.
affects: >=1.0.0
gotchaVue 2 only; does not support Vue 3.
fix
Use with Vue 2 projects only.
affects: >=1.0.0
deprecatedDeprecated options removed in 1.1.0
fix
Refer to changelog for option migration.
affects: 1.0.x
Errors
Common errors & fixes
Error: Cannot find module 'kolibri-build'
Missing package installation or incorrect import path
fix
npm install kolibri-build --save-dev
Module parse failed: Unexpected token (1:0)
Missing webpack configuration or wrong loader
fix
Use default config from kolibri-build or add vue-loader rule
Upgrade
Version history
1.1.2latest on npm
Audit
Dependencies
vue-template-compilerrequiredPeer dependency for Vue 2 template compilation
webpackrequiredPeer dependency for build orchestration
Agent activity
9 hits · last 30 days
node
6
Resources
kolibri-build — npm install kolibri-build · libregistry