A Node.js library and CLI tool for bundling static assets by creating symbolic links in development and copying files in production. Version 2.0.0 uses glob patterns and variable substitution. It helps manage static files from multiple modules into a single public directory. The tool supports environment-specific behavior via NODE_ENV or --env flag, with forced deletion before symlinking or copying. It distinguishes itself by mimicking module resolution with glob variables, simplifying asset management across packages. Available programmatically or via command line.
npm install assets-bundlerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates programmatic usage with async and sync functions, using glob variable :module.
Set NODE_ENV=development for symlinks or use --env dev.
Use caution when specifying destination; avoid using dest that contains other important files.
Consider migrating to modern alternatives like webpack copy plugin or fs-extra.
Run `npm install glob-ln` in your project.
Use `const bundle = require('assets-bundler');` instead of `import bundle from 'assets-bundler';`.