Scotch (make-zaebis)

raw JSON →
0.0.28 verified Sat Apr 25 auth: no javascript deprecated

Scotch is a module bundler built on top of webpack, designed to simplify the bundling process for frontend and backend applications. The current version is 0.0.28, with an unknown release cadence (likely irregular as the project is WIP). It is not yet stable and should be considered experimental. It differentiates itself by aiming to provide a higher-level abstraction over webpack, but lacks documentation and community adoption.

error Error: Cannot find module 'make-zaebis'
cause Package not installed or incorrect import path.
fix
Run 'npm install make-zaebis' and ensure import matches the package entry.
error TypeError: (0 , _makeZaebis.default) is not a function
cause Using named import instead of default import.
fix
Change 'import { bundle } from "make-zaebis"' to 'import bundle from "make-zaebis"'.
breaking Package is Work In Progress (WIP) and may have breaking changes without notice.
fix Avoid using in production; pin to a specific version if necessary.
deprecated The package name 'make-zaebis' is non-standard and likely to be renamed or deprecated.
fix Consider using stable alternatives like webpack directly or other bundlers.
gotcha The module exports may change frequently. Relying on undocumented exports is risky.
fix Check the source code or lock to a known working version.
npm install make-zaebis
yarn add make-zaebis
pnpm add make-zaebis

Demonstrates basic usage of the default bundle function to bundle a JavaScript entry point.

import bundle from 'make-zaebis';

async function main() {
  const result = await bundle({
    entry: './src/index.js',
    output: { path: './dist', filename: 'bundle.js' },
    mode: 'production'
  });
  console.log('Bundle created:', result);
}

main().catch(console.error);