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.
Common errors
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"'.
Warnings
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.
Install
npm install make-zaebis yarn add make-zaebis pnpm add make-zaebis Imports
- default wrong
import { bundle } from 'make-zaebis'correctimport bundle from 'make-zaebis' - bundle wrong
const bundle = require('make-zaebis')correctimport bundle from 'make-zaebis' - build wrong
import build from 'make-zaebis/build'correctimport { build } from 'make-zaebis/build'
Quickstart
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);