qu-build

raw JSON →
2.2.0 verified Sat Apr 25 auth: no javascript maintenance

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.

error Cannot find module 'qu-build/lib/webpack'
cause Missing local install of qu-build, or using wrong path
fix
Run 'npm install qu-build --save-dev' inside project, then use relative path or require from global install.
error qu-build: command not found
cause qu-build not installed globally or not in PATH
fix
Run 'npm install qu-build -g' to install globally, or use npx qu-build
error Error: Cannot find module 'webpack'
cause webpack not installed as dependency
fix
Run 'npm install webpack' in your project
error The engine "node" is incompatible with this module.
cause Node.js version too old (<8.5.0)
fix
Upgrade Node.js to version 8.5.0 or higher
gotcha Global install required for CLI usage
fix Install globally: npm install qu-build -g
gotcha Requires Node >= 8.5.0, older versions not supported
fix Update Node to >=8.5.0
deprecated Package may be unmaintained; last version 2.2.0, no recent updates
fix Consider alternatives like create-react-app or vue-cli
gotcha Configuration file must export a function that returns modified webpack config
fix In webpack.config.js: module.exports = function(config) { ... return config; }
npm install qu-build
yarn add qu-build
pnpm add qu-build

Install CLI globally, then use commands for dev, build, test, and project scaffolding.

npm install qu-build -g

# start dev server
qu-build -d

# build for production
qu-build -b --hash

# run tests
qu-build -t

# create vue project
qu-build --init vue my-project