A minimal JavaScript bundler inspired by Webpack, designed for simple projects that need to concatenate multiple script files into a single bundle. Version 1.0.16 is the latest stable release, with infrequent updates. Unlike Webpack or Rollup, it offers no module resolution, tree-shaking, or code splitting; it simply concatenates files in order. Suitable for small hobby projects but not for production use. Not actively maintained.
npm install primitive-script-bundlerVerified import paths — ran on the pinned version, not inferred.
Shows how to configure files and output path via config.json and run the bundler.
Manually order your files so that dependencies appear before dependents.
Pipe bundle through tools like terser or uglify-js.
Pre-process files with Babel or TypeScript compiler before bundling.
Consider alternatives like Webpack, Rollup, or esbuild for active support.
Run 'npm install primitive-script-bundler' in your project root.
Use const bundle = require('primitive-script-bundler'); then bundle();Create a config.json file in the same directory with the required files and output fields.
No dependency data recorded yet.