{"id":18699,"library":"qu-build","title":"qu-build","description":"Universal front-end build tooling based on webpack, TypeScript, Babel, and ES features. Current stable version 2.2.0 targets Node >= 8.5.0. Provides CLI commands for building, developing with hot reload, testing via Jest, scaffolding projects (vue, pages), and mock API support using Mock.js. Configuration is done via a custom webpack.config.js file that receives and returns the webpack config object. No recent updates; maintenance status unknown.","status":"maintenance","version":"2.2.0","language":"javascript","source_language":"en","source_url":"ssh://git@github.com/quteam/qu-build","tags":["javascript","webpack","typescript","es","babel"],"install":[{"cmd":"npm install qu-build","lang":"bash","label":"npm"},{"cmd":"yarn add qu-build","lang":"bash","label":"yarn"},{"cmd":"pnpm add qu-build","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"bundler used internally","package":"webpack","optional":false},{"reason":"transpilation","package":"babel","optional":false},{"reason":"testing via -t flag","package":"jest","optional":true}],"imports":[{"note":"CJS-only package, no ESM exports.","wrong":"import webpack from 'qu-build/lib/webpack'","symbol":"webpack","correct":"const webpack = require('qu-build/lib/webpack');"},{"note":"Package exports a function? Not specified. Use CLI or require submodules.","wrong":"","symbol":"default","correct":"const quBuild = require('qu-build');"},{"note":"ESM import works if used with bundler that understands package.json fields, but library is CJS-first.","wrong":"const quBuild = require('qu-build');","symbol":"quBuild","correct":"import quBuild from 'qu-build';"}],"quickstart":{"code":"npm install qu-build -g\n\n# start dev server\nqu-build -d\n\n# build for production\nqu-build -b --hash\n\n# run tests\nqu-build -t\n\n# create vue project\nqu-build --init vue my-project\n","lang":"javascript","description":"Install CLI globally, then use commands for dev, build, test, and project scaffolding."},"warnings":[{"fix":"Install globally: npm install qu-build -g","message":"Global install required for CLI usage","severity":"gotcha","affected_versions":">=1.0"},{"fix":"Update Node to >=8.5.0","message":"Requires Node >= 8.5.0, older versions not supported","severity":"gotcha","affected_versions":">=2.0"},{"fix":"Consider alternatives like create-react-app or vue-cli","message":"Package may be unmaintained; last version 2.2.0, no recent updates","severity":"deprecated","affected_versions":"*"},{"fix":"In webpack.config.js: module.exports = function(config) { ... return config; }","message":"Configuration file must export a function that returns modified webpack config","severity":"gotcha","affected_versions":">=1.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run 'npm install qu-build --save-dev' inside project, then use relative path or require from global install.","cause":"Missing local install of qu-build, or using wrong path","error":"Cannot find module 'qu-build/lib/webpack'"},{"fix":"Run 'npm install qu-build -g' to install globally, or use npx qu-build","cause":"qu-build not installed globally or not in PATH","error":"qu-build: command not found"},{"fix":"Run 'npm install webpack' in your project","cause":"webpack not installed as dependency","error":"Error: Cannot find module 'webpack'"},{"fix":"Upgrade Node.js to version 8.5.0 or higher","cause":"Node.js version too old (<8.5.0)","error":"The engine \"node\" is incompatible with this module."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}