{"id":18620,"library":"nowa-core-bundler","title":"Nowa Core Bundler","description":"Nowa Core Bundler is a command-line tool for bundling Nowa web applications. As of version 2.0.0-alpha.6, it is in early alpha with incomplete features (e.g., internationalization, component configuration). It uses yargs for CLI command parsing and likely integrates with webpack internally. This package is intended for internal use by Nowa projects and may not be suitable for general consumption due to its alpha status and limited documentation.","status":"active","version":"2.0.0-alpha.6","language":"javascript","source_language":"en","source_url":"https://github.com/nowa-webpack/nowa-core-bundler","tags":["javascript"],"install":[{"cmd":"npm install nowa-core-bundler","lang":"bash","label":"npm"},{"cmd":"yarn add nowa-core-bundler","lang":"bash","label":"yarn"},{"cmd":"pnpm add nowa-core-bundler","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Used for CLI command parsing and argument handling","package":"yargs","optional":false},{"reason":"Referenced in comments for source map support (likely a dependency)","package":"source-map-support","optional":true}],"imports":[{"note":"Package may or may not have a default export; ESM imports preferred but CJS may still work.","wrong":"const nowa = require('nowa-core-bundler')","symbol":"default","correct":"import nowa from 'nowa-core-bundler'"},{"note":"If the package exports a CLI class, use named import.","wrong":null,"symbol":"CLI","correct":"import { CLI } from 'nowa-core-bundler'"},{"note":"If configuration utilities are exported, use named import.","wrong":null,"symbol":"config","correct":"import { config } from 'nowa-core-bundler'"}],"quickstart":{"code":"import nowa from 'nowa-core-bundler';\n// This package is primarily used via CLI, but if using programmatically:\nnowa().then(result => console.log(result)).catch(err => console.error(err));\n// Alternatively, use CLI: npx nowa-core-bundler hello","lang":"typescript","description":"Shows how to import and use the package programmatically, or use the CLI command."},"warnings":[{"fix":"Refer to migration guide if upgrading from 1.x","message":"Version 2.x is a complete rewrite and API incompatible with 1.x","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Pin to a specific version if using in production","message":"This package is in alpha and may change without notice","severity":"deprecated","affected_versions":">=2.0.0-alpha.0"},{"fix":"Run 'nowa-core-bundler --help' to see available commands","message":"CLI commands are defined via yargs; 'hello' and 'world' are examples but may not be fully implemented","severity":"gotcha","affected_versions":">=2.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"npm install yargs --save","cause":"yargs is a peer dependency not installed automatically","error":"Error: Cannot find module 'yargs'"},{"fix":"import { CLI } from 'nowa-core-bundler'","cause":"Default import does not exist; package has named exports only","error":"TypeError: nowa is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}